method

cache_changed_attributes

Importance_0
v4.2.9 - 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 179
      def cache_changed_attributes
        @cached_changed_attributes = changed_attributes
        yield
      ensure
        clear_changed_attributes_cache
      end
Register or log in to add new notes.