diff options
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/rails/app/app_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/app_generator.rb b/railties/lib/rails/generators/rails/app/app_generator.rb index 2f85a0504e..ba3eb67fe0 100644 --- a/railties/lib/rails/generators/rails/app/app_generator.rb +++ b/railties/lib/rails/generators/rails/app/app_generator.rb @@ -194,7 +194,7 @@ module Rails::Generators end def app_const_base - @app_const_base ||= app_name.gsub(/\W/, '_').squeeze('_').classify + @app_const_base ||= app_name.gsub(/\W/, '_').squeeze('_').camelize end def app_const |