# File lib/active_record/base.rb, line 1596 def init_with(coder) @attributes = coder['attributes'] @relation = nil set_serialized_attributes @attributes_cache, @previously_changed, @changed_attributes = {}, {}, {} @association_cache = {} @aggregation_cache = {} @readonly = @destroyed = @marked_for_destruction = false @new_record = false run_callbacks :find run_callbacks :initialize self end