method

store_original_attributes

rails latest stable - Class: ActiveRecord::AttributeMethods::Dirty

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.0.0.1) is shown here.

store_original_attributes()
private

No documentation available.

# File activerecord/lib/active_record/attribute_methods/dirty.rb, line 130
      def store_original_attributes
        @attributes = @attributes.map(&:forgetting_assignment)
        @mutation_tracker = nil
      end