diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-08-02 19:41:20 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-08-02 19:41:55 -0300 |
commit | 9abf589051006b62a2c7f8cf614eff629a083fd5 (patch) | |
tree | 8427eb45000c3e8cd9f253d3773a310f51e10afb /railties | |
parent | 6e523766d8a64bf18ac6d0e261c6bd962bc6c0a9 (diff) | |
download | rails-9abf589051006b62a2c7f8cf614eff629a083fd5.tar.gz rails-9abf589051006b62a2c7f8cf614eff629a083fd5.tar.bz2 rails-9abf589051006b62a2c7f8cf614eff629a083fd5.zip |
Remove `:rails_env` task since it is not needed anymore.
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/tasks/misc.rake | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/railties/lib/rails/tasks/misc.rake b/railties/lib/rails/tasks/misc.rake index 0dcca36d8b..0a9b9ff4ff 100644 --- a/railties/lib/rails/tasks/misc.rake +++ b/railties/lib/rails/tasks/misc.rake @@ -1,10 +1,3 @@ -task :rails_env do - # TODO Do we really need this? - unless defined? RAILS_ENV - RAILS_ENV = ENV['RAILS_ENV'] ||= 'development' - end -end - desc 'Generate a cryptographically secure secret key (this is typically used to generate a secret for cookie sessions).' task :secret do require 'securerandom' |