method

cache_changed_attributes

Importance_0
v4.2.1 - Show latest stable - 0 notes - Class: ActiveRecord::AttributeMethods::Dirty
cache_changed_attributes() private

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 177
      def cache_changed_attributes
        @cached_changed_attributes = changed_attributes
        yield
      ensure
        remove_instance_variable(:@cached_changed_attributes)
      end
Register or log in to add new notes.