Method: Sequel::Model::Associations.apply
- Defined in:
- lib/sequel/model/associations.rb
.apply(model) ⇒ Object
Set an empty association reflection hash in the model
12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/sequel/model/associations.rb', line 12 def self.apply(model) model.instance_exec do @association_reflections = {} @autoreloading_associations = {} @cache_associations = true @default_eager_limit_strategy = true = {} = {} @dataset_module_class = DatasetModule end end |