diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-02-18 01:39:06 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2019-02-18 01:39:06 +0900 |
commit | 6a1a1e66ea7a917942bd8369fa8dbfedce391dab (patch) | |
tree | e3bca9f404a5a0d1dc5e3c13a49c9d4faf3ff444 /activerecord/CHANGELOG.md | |
parent | 49bcb008cbaf0fa2db727ae58e7e27015a7ae02c (diff) | |
download | rails-6a1a1e66ea7a917942bd8369fa8dbfedce391dab.tar.gz rails-6a1a1e66ea7a917942bd8369fa8dbfedce391dab.tar.bz2 rails-6a1a1e66ea7a917942bd8369fa8dbfedce391dab.zip |
Use placeholder for `type_condition` predicate
Before:
```
SELECT "comments".* FROM "comments" WHERE "comments"."type" IN ('VerySpecialComment') AND "comments"."post_id" = ? LIMIT ? [["post_id", 4], ["LIMIT", 1]]
```
After:
```
SELECT "comments".* FROM "comments" WHERE "comments"."type" = ? AND "comments"."post_id" = ? LIMIT ? [["type", "VerySpecialComment"], ["post_id", 4], ["LIMIT", 1]]
```
Diffstat (limited to 'activerecord/CHANGELOG.md')
0 files changed, 0 insertions, 0 deletions