method
changed_in_place?
v6.0.0 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Hstore
changed_in_place?(raw_old_value, new_value)public
Will compare the Hash equivalents of raw_old_value and new_value. By comparing hashes, this avoids an edge case where the order of the keys change between the two hashes, and they would not be marked as equal.