1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Improve generated config initializer files

- Fix grammar.
- Improve readability/understanding.
- Wrap lines at 80 characters.

[skip ci]
This commit is contained in:
Jon Atack 2016-01-11 17:05:05 +01:00
parent 179df9df68
commit 9b52e447a6
2 changed files with 6 additions and 4 deletions

View file

@ -1,5 +1,6 @@
# Be sure to restart your server when you modify this file. # 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
# so introduced as a config to ensure apps made with earlier versions of Rails aren't affected when upgrading. # default, so it is introduced as a configuration option to ensure that apps
# made on earlier versions of Rails are not affected when upgrading.
Rails.application.config.active_record.belongs_to_required_by_default = true Rails.application.config.active_record.belongs_to_required_by_default = true

View file

@ -1,5 +1,6 @@
# Be sure to restart your server when you modify this file. # 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
# so introduced as a config to ensure apps made with earlier versions of Rails aren't affected when upgrading. # Rails 5.0 default, so it is introduced as a configuration option to ensure
# that apps made with earlier versions of Rails are not affected when upgrading.
ActiveSupport.halt_callback_chains_on_return_false = false ActiveSupport.halt_callback_chains_on_return_false = false