We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
future_kids/lib/tasks/xls_export.rb
Line 11 in a8d68f2
It is not suggested to save such a file like that. This should be done with Ruby std-lib Tempfile.
The way this is implemented now is not advised as is, neither security nor stability wise.
But the good news is, that this is very easy to implement.
The text was updated successfully, but these errors were encountered:
require 'tempfile' tempfile = Tempfile.new(filename) tempfile.write(rendered_xlsx) Net::SFTP.start(ENV['SFTP_HOST'], ENV['SFTP_USER'], password: ENV['SFTP_PASS']) do |sftp| sftp.upload!(tempfile.path, filename) end tempfile.unlink
Sorry, something went wrong.
No branches or pull requests
future_kids/lib/tasks/xls_export.rb
Line 11 in a8d68f2
It is not suggested to save such a file like that. This should be done with Ruby std-lib Tempfile.
The way this is implemented now is not advised as is, neither security nor stability wise.
But the good news is, that this is very easy to implement.
The text was updated successfully, but these errors were encountered: