aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/tasks/misc.rake
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/rails/tasks/misc.rake')
-rw-r--r--railties/lib/rails/tasks/misc.rake7
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'