Method: Sequel::Model::Associations::InstanceMethods#freeze

Defined in:
lib/sequel/model/associations.rb

#freezeObject

Freeze the associations cache when freezing the object. Note that retrieving associations after freezing will still work in most cases, but the associations will not be cached in the association cache.

[View source]

2529
2530
2531
2532
2533
2534
# File 'lib/sequel/model/associations.rb', line 2529

def freeze
  associations
  super
  associations.freeze
  self
end