method

marshal_load

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Association
marshal_load(data) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.