Flowdock
method

cache_changed_attributes

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