diff options
author | Francis Irving <francis@mysociety.org> | 2009-12-03 14:18:06 +0000 |
---|---|---|
committer | Francis Irving <francis@mysociety.org> | 2009-12-03 14:18:06 +0000 |
commit | c132fb5904bed2827ad3ef1173cb12d9cf9f96a2 (patch) | |
tree | 75e5f4380eac498576c8443b5b4bde7e599bed5a /vendor/rails-2.0.2/railties/lib/tasks/misc.rake | |
parent | 2eabd0bf1d5c3d0cfa0f2883f6cfd65298ef4cd1 (diff) |
Remove old versions of Rails
Diffstat (limited to 'vendor/rails-2.0.2/railties/lib/tasks/misc.rake')
-rw-r--r-- | vendor/rails-2.0.2/railties/lib/tasks/misc.rake | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/vendor/rails-2.0.2/railties/lib/tasks/misc.rake b/vendor/rails-2.0.2/railties/lib/tasks/misc.rake deleted file mode 100644 index e44ab2cf1..000000000 --- a/vendor/rails-2.0.2/railties/lib/tasks/misc.rake +++ /dev/null @@ -1,10 +0,0 @@ -task :default => :test -task :environment do - require(File.join(RAILS_ROOT, 'config', 'environment')) -end - -require 'rails_generator/secret_key_generator' -desc 'Generate a crytographically secure secret key. This is typically used to generate a secret for cookie sessions. Pass a unique identifier to the generator using ID="some unique identifier" for greater security.' -task :secret do - puts Rails::SecretKeyGenerator.new(ENV['ID']).generate_secret -end |