aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/activemodel.gemspec
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-03-20 20:58:41 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-03-20 21:12:34 +0900
commit4b884fc732c574c40296a2f78816b25a06b64ffe (patch)
tree7db512a56b7296be65b36232892b00687451020d /activemodel/activemodel.gemspec
parent1835d87fb848fd9f13e43bf16abd41be231b1666 (diff)
downloadrails-4b884fc732c574c40296a2f78816b25a06b64ffe.tar.gz
rails-4b884fc732c574c40296a2f78816b25a06b64ffe.tar.bz2
rails-4b884fc732c574c40296a2f78816b25a06b64ffe.zip
Preprocess association query handling in predicate builder
Currently association query is handled as a postprocess. This has two problems. 1. When `value` is a `Hash`, we need to skip the postprocess using `next`. 2. `can_be_bound?` should return false if `table.associated_with?(column_name)` is true (pass to the postprocess). These are unneeded if preprocessing association query handling.
Diffstat (limited to 'activemodel/activemodel.gemspec')
0 files changed, 0 insertions, 0 deletions