diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2010-06-09 16:19:03 -0400 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2010-06-09 16:19:03 -0400 |
commit | 29acc17c0f3c6697f174b228a738819024f81c87 (patch) | |
tree | 759cae7e8ec23e1d60416e249f61079387e48895 /railties/lib/rails/tasks/misc.rake | |
parent | c9d156f0630b2aaeca7c253acf99bfe9e662c5bd (diff) | |
download | rails-29acc17c0f3c6697f174b228a738819024f81c87.tar.gz rails-29acc17c0f3c6697f174b228a738819024f81c87.tar.bz2 rails-29acc17c0f3c6697f174b228a738819024f81c87.zip |
Cut down on tasks shown in rake -T
Diffstat (limited to 'railties/lib/rails/tasks/misc.rake')
-rw-r--r-- | railties/lib/rails/tasks/misc.rake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/railties/lib/rails/tasks/misc.rake b/railties/lib/rails/tasks/misc.rake index 0926707a04..09c8a1a223 100644 --- a/railties/lib/rails/tasks/misc.rake +++ b/railties/lib/rails/tasks/misc.rake @@ -7,7 +7,7 @@ task :rails_env do end end -desc 'Generate a crytographically secure secret key. This is typically used to generate a secret for cookie sessions.' +desc 'Generate a crytographically secure secret key (rhis is typically used to generate a secret for cookie sessions).' task :secret do require 'active_support/secure_random' puts ActiveSupport::SecureRandom.hex(64) @@ -20,17 +20,17 @@ end namespace :time do namespace :zones do - desc 'Displays names of all time zones recognized by the Rails TimeZone class, grouped by offset. Results can be filtered with optional OFFSET parameter, e.g., OFFSET=-6' + desc 'Displays all time zones, also available: time:zones:us, time:zones:local -- filter with OFFSET parameter, e.g., OFFSET=-6' task :all do build_time_zone_list(:all) end - desc 'Displays names of US time zones recognized by the Rails TimeZone class, grouped by offset. Results can be filtered with optional OFFSET parameter, e.g., OFFSET=-6' + # desc 'Displays names of US time zones recognized by the Rails TimeZone class, grouped by offset. Results can be filtered with optional OFFSET parameter, e.g., OFFSET=-6' task :us do build_time_zone_list(:us_zones) end - desc 'Displays names of time zones recognized by the Rails TimeZone class with the same offset as the system local time' + # desc 'Displays names of time zones recognized by the Rails TimeZone class with the same offset as the system local time' task :local do require 'active_support' require 'active_support/time' |