aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/url_for_integration_test.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2016-08-11 22:07:36 +0900
committerRyuta Kamizono <kamipo@gmail.com>2016-08-11 22:18:30 +0900
commitc30ff2b971eb6b0b038de20ca91ef9f3a6e460f6 (patch)
tree2eccbf6db9a155dc087800081894974bb7244852 /actionpack/test/controller/url_for_integration_test.rb
parent7c279ad696e1154b2f2dbef26ba0ff0a42aa105a (diff)
downloadrails-c30ff2b971eb6b0b038de20ca91ef9f3a6e460f6.tar.gz
rails-c30ff2b971eb6b0b038de20ca91ef9f3a6e460f6.tar.bz2
rails-c30ff2b971eb6b0b038de20ca91ef9f3a6e460f6.zip
Make association queries to preparable: Step 1
Currently association queries cannot be preparable. ```ruby Post.where(author_id: 1).to_a # => SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 1]] Post.where(author: 1).to_a # => SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 1 ``` To make association queries to preparable, it should be handled in `create_binds_for_hash`. This change is a first step for it.
Diffstat (limited to 'actionpack/test/controller/url_for_integration_test.rb')
0 files changed, 0 insertions, 0 deletions