diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-04-07 17:19:33 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-04-07 17:20:57 -0300 |
commit | 0a120a818d413c64ff9867125f0b03788fc306f8 (patch) | |
tree | dd9dbb389af54b8300100ce197e9f319e7120d15 /railties | |
parent | 44cfb2ab8a57627bca826bf68ffb1cf26ee55fdb (diff) | |
download | rails-0a120a818d413c64ff9867125f0b03788fc306f8.tar.gz rails-0a120a818d413c64ff9867125f0b03788fc306f8.tar.bz2 rails-0a120a818d413c64ff9867125f0b03788fc306f8.zip |
Avoid to define an initializer after the load_config_initializers
This make the config/initializers run before the railties are loaded
what can break some configurations.
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/initializers/callback_terminator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/initializers/callback_terminator.rb b/railties/lib/rails/generators/rails/app/templates/config/initializers/callback_terminator.rb index e63022da91..a70a1b9cde 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/initializers/callback_terminator.rb +++ b/railties/lib/rails/generators/rails/app/templates/config/initializers/callback_terminator.rb @@ -1,4 +1,4 @@ # Be sure to restart your server when you modify this file. # Do not halt callback chains when a callback returns false. -Rails.application.config.active_support.halt_callback_chains_on_return_false = false +ActiveSupport.halt_callback_chains_on_return_false = false |