class ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Uuid
:nodoc:
:nodoc:
def cast_value(value)
def cast_value(value) casted = value.to_s casted if casted.match?(ACCEPTABLE_UUID) end
def changed?(old_value, new_value, _new_value_before_type_cast)
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
def changed_in_place?(raw_old_value, new_value)
def changed_in_place?(raw_old_value, new_value) raw_old_value.class != new_value.class || new_value && raw_old_value.casecmp(new_value) != 0 end
def type
def type :uuid end