Sha256: 0c15fca602789bb94acffdb0821af1e7373891f60911460f1fbbd2b0c2124040
Contents?: true
Size: 542 Bytes
Versions: 3
Compression:
Stored size: 542 Bytes
Contents
# encoding: utf-8 # # Mongoid 6 follows the new pattern of AR5 requiring a belongs_to relation to always require its parent # belongs_to` will now trigger a validation error by default if the association is not present. # You can turn this off on a per-association basis with `optional: true`. # (Note this new default only applies to new Rails apps that will be generated with # `config.active_record.belongs_to_required_by_default = true` in initializer.) # Mongoid::Config.belongs_to_required_by_default = false
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
jinda-0.8.0 | test/dummy/config/initializers/mongoid.rb |
jinda-0.7.7.4 | test/dummy/config/initializers/mongoid.rb |
jinda-0.7.7.3 | test/dummy/config/initializers/mongoid.rb |