rails/extensions/autosave_association_fix.rb
# Returns whether or not this record has been changed in any way (including whether
# any of its nested autosave associations are likewise changed)
Returns whether or not this record has been changed in any way (including whether
any of its nested autosave associations are likewise changed)
Returns whether or not this record has been changed in any way ( including whether any of its nested autosave associations are likewise changed )
def changed_for_autosave?
    @_changed_for_autosave_called ||= false
    if @_changed_for_autosave_called
      result = false
    else
      begin
        @_changed_for_autosave_called = true
        result = super
      ensure
        @_changed_for_autosave_called = false
      end
    end
    result
  end
def changed_for_autosave? @_changed_for_autosave_called ||= false if @_changed_for_autosave_called result = false else begin @_changed_for_autosave_called = true result = super ensure @_changed_for_autosave_called = false end end result end
Returns whether or not this record has been changed in any way (including whether
any of its nested autosave associations are likewise changed)
Returns whether or not this record has been changed in any way ( including whether any of its nested autosave associations are likewise changed )
# traversing a cyclic graph of objects; stop it