blob: f613b40f8044469a3cf8da9baad20e5937fc128e (
plain) (
blame)
1
2
3
4
5
6
|
# 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, 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
|