diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2014-08-19 22:18:21 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2014-08-19 22:21:57 -0300 |
commit | 6e420aa99c60b214b2586abf1be2649d0ebf1fcf (patch) | |
tree | 4efbc9ccd25b473a589b5c93e1160209296b4c96 /railties/lib | |
parent | f288533b4f2b5f65cd901132b3864aaaf8ee76a0 (diff) | |
download | rails-6e420aa99c60b214b2586abf1be2649d0ebf1fcf.tar.gz rails-6e420aa99c60b214b2586abf1be2649d0ebf1fcf.tar.bz2 rails-6e420aa99c60b214b2586abf1be2649d0ebf1fcf.zip |
Fix blank link on config/application.rb app template [ci skip]
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/application.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/application.rb b/railties/lib/rails/generators/rails/app/templates/config/application.rb index 761e757d7f..23db8b5153 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/application.rb +++ b/railties/lib/rails/generators/rails/app/templates/config/application.rb @@ -30,8 +30,8 @@ module <%= app_const_base %> # 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}').to_s] # config.i18n.default_locale = :de - <%- unless options.skip_active_record? -%> + # For not swallow errors in after_commit/after_rollback callbacks. config.active_record.raise_in_transactional_callbacks = true <%- end -%> |