method

original_value

rails latest stable - Class: ActiveRecord::Attribute

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.1.7) is shown here.

original_value()
public

No documentation available.

# File activerecord/lib/active_record/attribute.rb, line 42
    def original_value
      if assigned?
        original_attribute.original_value
      else
        type_cast(value_before_type_cast)
      end
    end