diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-10-14 09:47:21 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-10-14 09:47:21 +0200 |
commit | a11ddbe55fd27f38e0085ee1210947e3d8f47220 (patch) | |
tree | 27eaff683b6b9f1d3330a8a57b544d09af872d76 /activerecord | |
parent | 5b144233e9ac3405b029d296a5f231b4caa73859 (diff) | |
download | rails-a11ddbe55fd27f38e0085ee1210947e3d8f47220.tar.gz rails-a11ddbe55fd27f38e0085ee1210947e3d8f47220.tar.bz2 rails-a11ddbe55fd27f38e0085ee1210947e3d8f47220.zip |
cleanup changelog entry format. [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/CHANGELOG.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index e122b0181e..4e6d7900ff 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,6 +1,8 @@ -* Generate subquery for `Relation` if it passed as array condition for `where` method +* Generate subquery for `Relation` if it passed as array condition for `where` + method. Example: + # Before Blog.where('id in (?)', Blog.where(id: 1)) # => SELECT "blogs".* FROM "blogs" WHERE "blogs"."id" = 1 @@ -11,7 +13,7 @@ # => SELECT "blogs".* FROM "blogs" # WHERE "blogs"."id" IN (SELECT "blogs"."id" FROM "blogs" WHERE "blogs"."id" = 1) - Fixes: #12415 + Fixes #12415. *Paul Nikitochkin* |