method

original_value_for_database

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_for_database()
protected

No documentation available.

# File activerecord/lib/active_record/attribute.rb, line 138
      def original_value_for_database
        if assigned?
          original_attribute.original_value_for_database
        else
          _original_value_for_database
        end
      end