method

original_value

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: ForcedMutationTracker
original_value(attr_name) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activemodel/lib/active_model/attribute_mutation_tracker.rb, line 113
    def original_value(attr_name)
      if changed?(attr_name)
        forced_changes[attr_name]
      else
        fetch_value(attr_name)
      end
    end
Register or log in to add new notes.