aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/action_controller_overview.md
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-06-28 21:59:28 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-06-28 21:59:28 +0900
commitbf3f2010003326a42d86a88425e3c66242c2f2f1 (patch)
tree6f01a6629628e16d195c6516b3df2be7e2e5ccb2 /guides/source/action_controller_overview.md
parentd766b64b7e137955b7c7dbab51d2b6e525de47c1 (diff)
downloadrails-bf3f2010003326a42d86a88425e3c66242c2f2f1.tar.gz
rails-bf3f2010003326a42d86a88425e3c66242c2f2f1.tar.bz2
rails-bf3f2010003326a42d86a88425e3c66242c2f2f1.zip
Fix `ids_reader` to respect case sensitive primary key
```ruby car = Car.create!(name: "Tofaş") # Before car.bulb_ids # => SELECT "bulbs".ID FROM "bulbs" WHERE "bulbs"."name" = $1 AND "bulbs"."car_id" = $2 [["name", "defaulty"], ["car_id", 3]] # After car.bulb_ids # => SELECT "bulbs"."ID" FROM "bulbs" WHERE "bulbs"."name" = $1 AND "bulbs"."car_id" = $2 [["name", "defaulty"], ["car_id", 3]] ```
Diffstat (limited to 'guides/source/action_controller_overview.md')
0 files changed, 0 insertions, 0 deletions