method
marshal_load
v7.1.3.4 -
Show latest stable
- Class:
ActiveRecord::Associations::Association
marshal_load(data)public
No documentation available.
# File activerecord/lib/active_record/associations/association.rb, line 190
def marshal_load(data)
reflection_name, ivars = data
ivars.each { |name, val| instance_variable_set(name, val) }
@reflection = @owner.class._reflect_on_association(reflection_name)
end