method

changed?

rails latest stable - Class: ActiveRecord::Type::Value

Method deprecated or moved

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

changed?(old_value, new_value, _new_value_before_type_cast)
public

Determines whether a value has changed for dirty checking. old_value and new_value will always be type-cast. Types should not need to override this method.