diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-10-10 14:41:14 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-10-25 08:35:35 +0200 |
commit | 0492ea6d39e48c5bdb1d15eb4afdd54b00ece091 (patch) | |
tree | 06677dc32ad6034e837bf22f26a1ec1642290ca6 /activerecord/test/cases/invalid_connection_test.rb | |
parent | bf43b4c33fe323448a714854327fdabdcb3c7a14 (diff) | |
download | rails-0492ea6d39e48c5bdb1d15eb4afdd54b00ece091.tar.gz rails-0492ea6d39e48c5bdb1d15eb4afdd54b00ece091.tar.bz2 rails-0492ea6d39e48c5bdb1d15eb4afdd54b00ece091.zip |
`ActiveRecord::Store` works together with PG `hstore` columns.
This is necessary because as of 5ac2341 `hstore` columns are always stored
as `Hash` with `String` keys. `ActiveRecord::Store` expected the attribute to
be an instance of `HashWithIndifferentAccess`, which led to the bug.
Diffstat (limited to 'activerecord/test/cases/invalid_connection_test.rb')
0 files changed, 0 insertions, 0 deletions