instance method changed_attributes

Ruby on Rails 2.3.18

Last seen in v2.3.18 Private — implementation detail, not part of the public API

Available in: v2.2.3 v2.3.18

Signature

changed_attributes()

Map of change attr => original value.

Source
# File activerecord/lib/active_record/dirty.rb, line 101
      def changed_attributes
        @changed_attributes ||= {}
      end

Defined in activerecord/lib/active_record/dirty.rb line 101 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::Dirty

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close