aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/validations/presence.rb
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2014-05-28 13:32:40 +0200
committerYves Senn <yves.senn@gmail.com>2014-05-28 13:35:02 +0200
commitbdbf00dc78869f91a8af4d56a19213faf2b8d9e5 (patch)
treebb9e53068d5fb30ea7c038888d531d0673f1e7d6 /activerecord/lib/active_record/validations/presence.rb
parent7f73b9152cfc3f218cfc862e971ba56b94f6be10 (diff)
downloadrails-bdbf00dc78869f91a8af4d56a19213faf2b8d9e5.tar.gz
rails-bdbf00dc78869f91a8af4d56a19213faf2b8d9e5.tar.bz2
rails-bdbf00dc78869f91a8af4d56a19213faf2b8d9e5.zip
pg, keep `hstore` and `json` attributes as `Hash` in @attributes.
The solution presented in this patch is not efficient. We should replace it in the near future. The following needs to be worked out: * Is `@attributes` storing the Ruby or SQL representation? * `cacheable_column?` is broken but `hstore` and `json` rely on that behavior Refs #15369. /cc @sgrif @rafaelfranca
Diffstat (limited to 'activerecord/lib/active_record/validations/presence.rb')
0 files changed, 0 insertions, 0 deletions