rails/activerecord/test
Jon Moss 8ded825bc2 Compare deserialized values for PostgreSQL::OID::Hstore types
Per the regression commit below, the commit changes the behavior of
`#changed?`to consult the `#changed_in_place?` method on `Type::Value` classes.
Per this change, `PostgreSQL::OID::Hstore` needs to override this method
in order to compare the deserialized forms of the two arguments. In
Ruby, two hashes are considered equal even if their key order is
different. This commit helps to bring that behavior to `Hstore` values.

Fixes regression introduced by 8e633e505880755e7e366ccec2210bbe2b5436e7

Fixes #27502
2017-01-03 16:07:47 -05:00
..
active_record/connection_adapters Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
assets Use YAML to serialize schema cache 2016-11-27 22:09:58 -05:00
cases Compare deserialized values for PostgreSQL::OID::Hstore types 2017-01-03 16:07:47 -05:00
fixtures fix #create_fixtures when equal table names in different databases 2016-12-21 11:09:29 +01:00
migrations modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
models Merge pull request #27335 from kamipo/remove_duplicated_model_definition 2017-01-03 12:33:31 -05:00
schema Should not update children when the parent creation with no reason 2016-12-29 16:24:57 +09:00
support fix #create_fixtures when equal table names in different databases 2016-12-21 11:09:29 +01:00
.gitignore
config.example.yml Fix tests for prepared_statements: false and queries hitting #select_all 2016-11-19 21:52:52 +05:30
config.rb