method

changed?

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: Macaddr
changed?(old_value, new_value, _new_value_before_type_cast) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/postgresql/oid/macaddr.rb, line 12
          def changed?(old_value, new_value, _new_value_before_type_cast)
            old_value.class != new_value.class ||
              new_value && old_value.casecmp(new_value) != 0
          end
Register or log in to add new notes.