method

changed?

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

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

No documentation available.

# File activerecord/lib/active_record/type/numeric.rb, line 18
      def changed?(old_value, _new_value, new_value_before_type_cast) # :nodoc:
        super || number_to_non_number?(old_value, new_value_before_type_cast)
      end