aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails_generator/commands.rb
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2008-10-16 22:20:32 +0200
committerPratik Naik <pratiknaik@gmail.com>2008-10-16 22:20:32 +0200
commit0242d817035e60357e559af0e9441a1f24a764e4 (patch)
tree1efa579fc261e55f76bacfa9818eb4a649d68294 /railties/lib/rails_generator/commands.rb
parent7e2777348b88bf096ebc51e364554af19d7bcc55 (diff)
parent9cb5400871b660e2c6d1654346650f07bb52a0c0 (diff)
downloadrails-0242d817035e60357e559af0e9441a1f24a764e4.tar.gz
rails-0242d817035e60357e559af0e9441a1f24a764e4.tar.bz2
rails-0242d817035e60357e559af0e9441a1f24a764e4.zip
Merge with mainstream rails
Diffstat (limited to 'railties/lib/rails_generator/commands.rb')
-rw-r--r--railties/lib/rails_generator/commands.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails_generator/commands.rb b/railties/lib/rails_generator/commands.rb
index 59af7308fe..6b9a636847 100644
--- a/railties/lib/rails_generator/commands.rb
+++ b/railties/lib/rails_generator/commands.rb
@@ -169,6 +169,7 @@ HELP
# Ruby or Rails. In the future, expand to check other namespaces
# such as the rest of the user's app.
def class_collisions(*class_names)
+ path = class_names.shift
class_names.flatten.each do |class_name|
# Convert to string to allow symbol arguments.
class_name = class_name.to_s