Sha256: 58ad8cab633b504a498f8b47ceb055533bb461309263decd1e6f46b0a6d1b66f

Contents?: true

Size: 331 Bytes

Versions: 9

Compression:

Stored size: 331 Bytes

Contents

# 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.
if Rails::VERSION::MAJOR >= 5
  Rails.application.config.active_record.belongs_to_required_by_default = true
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
doorkeeper-mongodb-4.2.0 spec/dummy/config/initializers/new_framework_defaults.rb
doorkeeper-4.4.3 spec/dummy/config/initializers/new_framework_defaults.rb
doorkeeper-4.4.2 spec/dummy/config/initializers/new_framework_defaults.rb
doorkeeper-4.4.1 spec/dummy/config/initializers/new_framework_defaults.rb
doorkeeper-4.4.0 spec/dummy/config/initializers/new_framework_defaults.rb
doorkeeper-mongodb-4.1.0 spec/dummy/config/initializers/new_framework_defaults.rb
doorkeeper-4.3.2 spec/dummy/config/initializers/new_framework_defaults.rb
doorkeeper-4.3.1 spec/dummy/config/initializers/new_framework_defaults.rb
doorkeeper-4.3.0 spec/dummy/config/initializers/new_framework_defaults.rb