All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ruby-on-rails-server.active_record_belongs_to_required_by_default.rb Maven / Gradle / Ivy

There is a newer version: 7.6.0
Show newest version
# 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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy