method

original_value

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: Attribute
original_value() 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.rb, line 46
    def original_value
      if assigned?
        original_attribute.original_value
      else
        type_cast(value_before_type_cast)
      end
    end
Register or log in to add new notes.