From 983815632cc1d316c7c803a47be28f1abe6698fb Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 9 Jun 2010 17:14:47 -0400 Subject: Cut down even further on rake -T noise --- railties/lib/rails/tasks/misc.rake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'railties/lib/rails/tasks/misc.rake') diff --git a/railties/lib/rails/tasks/misc.rake b/railties/lib/rails/tasks/misc.rake index 09c8a1a223..c6c22d83bf 100644 --- a/railties/lib/rails/tasks/misc.rake +++ b/railties/lib/rails/tasks/misc.rake @@ -7,13 +7,13 @@ task :rails_env do end end -desc 'Generate a crytographically secure secret key (rhis is typically used to generate a secret for cookie sessions).' +desc 'Generate a crytographically secure secret key (this is typically used to generate a secret for cookie sessions).' task :secret do require 'active_support/secure_random' puts ActiveSupport::SecureRandom.hex(64) end -desc 'Explain the current environment' +desc 'List versions of all Rails frameworks and the environment' task :about do puts Rails::Info end -- cgit v1.2.3