Sha256: fb6ea9accbabfe6d7f96e3f1418698e5eef1616aa0f7b729898d8bf5fb35552a

Contents?: true

Size: 447 Bytes

Versions: 6

Compression:

Stored size: 447 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

  Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true if Rails::VERSION::MINOR >= 2
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
doorkeeper-5.0.3 spec/dummy/config/initializers/new_framework_defaults.rb
doorkeeper-5.1.0.rc2 spec/dummy/config/initializers/new_framework_defaults.rb
doorkeeper-5.1.0.rc1 spec/dummy/config/initializers/new_framework_defaults.rb
doorkeeper-5.0.2 spec/dummy/config/initializers/new_framework_defaults.rb
doorkeeper-mongodb-5.0.0 spec/dummy/config/initializers/new_framework_defaults.rb
doorkeeper-5.0.1 spec/dummy/config/initializers/new_framework_defaults.rb