method

initialize_dup

Importance_0
v4.2.9 - Show latest stable - 0 notes - Class: ActiveRecord::AttributeMethods::Dirty
initialize_dup(other) 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/attribute_methods/dirty.rb, line 41
      def initialize_dup(other) # :nodoc:
        super
        @original_raw_attributes = nil
        calculate_changes_from_defaults
      end
Register or log in to add new notes.