Method not available on this version
This method is only available on newer versions.
The first available version (v7.2.3) is shown here.
changed?(old_value, new_value, _new_value_before_type_cast)
public
TODO: Remove when IPAddr#==
compares IPAddr#prefix. See github.com/ruby/ipaddr/issues/21
# File activerecord/lib/active_record/connection_adapters/postgresql/oid/cidr.rb, line 33
def changed?(old_value, new_value, _new_value_before_type_cast)
!old_value.eql?(new_value) || !old_value.nil? && old_value.prefix != new_value.prefix
end