1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #18560 from ogennadi/patch-2

Fixed extraneous quoting
This commit is contained in:
Abdelkader Boudih 2015-01-17 07:38:35 +00:00
commit 9be89ab215

View file

@ -1275,7 +1275,7 @@ User.active.where(state: 'finished')
# SELECT "users".* FROM "users" WHERE "users"."state" = 'active' AND "users"."state" = 'finished'
```
If we do want the `last where clause` to win then `Relation#merge` can
If we do want the last `where` clause to win then `Relation#merge` can
be used.
```ruby