Permalink
Browse files

load_path is expecting a String in the application.rb generator

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  • Loading branch information...
1 parent f7b0a85 commit 45ceacd6ded0d3fc4c567c17cc45c6979c34cc2a @TomK32 TomK32 committed with jeremy Feb 12, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/generators/rails/app/templates/config/application.rb
@@ -35,7 +35,7 @@ class Application < Rails::Application
# config.time_zone = 'Central Time (US & Canada)'
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}')]
+ # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
# config.i18n.default_locale = :de
# Configure generators values. Many other options are available, be sure to check the documentation.

0 comments on commit 45ceacd

Please sign in to comment.