Skip to content
Browse files

Use plugin name consistently

  • Loading branch information...
1 parent ec08bfc commit 11862932ecfe528e7bc12c983e3b85b65350c24d Stefan Sprenger committed May 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb
View
2 railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb
@@ -258,7 +258,7 @@ def valid_const?
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

0 comments on commit 1186293

Please sign in to comment.
Something went wrong with that request. Please try again.