diff options
Diffstat (limited to 'railties/lib/generators/named_base.rb')
-rw-r--r-- | railties/lib/generators/named_base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/generators/named_base.rb b/railties/lib/generators/named_base.rb index c2b958e311..cd7aa61b50 100644 --- a/railties/lib/generators/named_base.rb +++ b/railties/lib/generators/named_base.rb @@ -36,7 +36,7 @@ module Rails @class_name = "#{class_nesting}::#{class_name_without_nesting}" end - @table_name.gsub! '/', '_' + @table_name.gsub!('/', '_') end # Convert attributes hash into an array with GeneratedAttribute objects. |