forked from rails/rails
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request rails#22786 from jonatack/remove-whitespace
✂️ whitespace in generated config files [skip ci]
- Loading branch information
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...s/rails/app/templates/config/initializers/active_record_belongs_to_required_by_default.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Be sure to restart your server when you modify this file. | ||
|
||
# Require `belongs_to` associations by default. This is a new Rails 5.0 default, | ||
# Require `belongs_to` associations by default. This is a new Rails 5.0 default, | ||
# so introduced as a config to ensure apps made with earlier versions of Rails aren't affected when upgrading. | ||
Rails.application.config.active_record.belongs_to_required_by_default = true |
2 changes: 1 addition & 1 deletion
2
railties/lib/rails/generators/rails/app/templates/config/initializers/callback_terminator.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Be sure to restart your server when you modify this file. | ||
|
||
# Do not halt callback chains when a callback returns false. This is a new Rails 5.0 default, | ||
# Do not halt callback chains when a callback returns false. This is a new Rails 5.0 default, | ||
# so introduced as a config to ensure apps made with earlier versions of Rails aren't affected when upgrading. | ||
ActiveSupport.halt_callback_chains_on_return_false = false |