instance method clear_changed_attributes_cache

Ruby on Rails 5.2.8.1

Since v5.2.8.1 Last seen in v5.2.8.1 Private — implementation detail, not part of the public API

Signature

clear_changed_attributes_cache()

No documentation comment.

Source
# File activemodel/lib/active_model/dirty.rb, line 286
      def clear_changed_attributes_cache
        remove_instance_variable(:@cached_changed_attributes) if defined?(@cached_changed_attributes)
      end

Defined in activemodel/lib/active_model/dirty.rb line 286 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveModel::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