diff options
author | Stefan Sprenger <stefan.sprenger@dkd.de> | 2011-05-26 12:01:59 +0200 |
---|---|---|
committer | Stefan Sprenger <stefan.sprenger@dkd.de> | 2011-05-26 12:01:59 +0200 |
commit | 11862932ecfe528e7bc12c983e3b85b65350c24d (patch) | |
tree | d0e0025d491621fcb9973926f69cb11ca9cd18d2 | |
parent | ec08bfc035e792d973152902563fb5dad82c437c (diff) | |
download | rails-11862932ecfe528e7bc12c983e3b85b65350c24d.tar.gz rails-11862932ecfe528e7bc12c983e3b85b65350c24d.tar.bz2 rails-11862932ecfe528e7bc12c983e3b85b65350c24d.zip |
Use plugin name consistently
-rw-r--r-- | railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb b/railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb index 4967d1793c..00f90f9498 100644 --- a/railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb +++ b/railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb @@ -258,7 +258,7 @@ task :default => :test elsif RESERVED_NAMES.include?(name) raise Error, "Invalid plugin name #{name}. Please give a name which does not match one of the reserved rails words." elsif Object.const_defined?(camelized) - raise Error, "Invalid plugin name #{name}, constant #{camelized} is already in use. Please choose another application name." + raise Error, "Invalid plugin name #{name}, constant #{camelized} is already in use. Please choose another plugin name." end end |