Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cleanup changelog entry format. [ci skip]

  • Loading branch information...
commit a11ddbe55fd27f38e0085ee1210947e3d8f47220 1 parent 5b14423
@senny senny authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 activerecord/CHANGELOG.md
View
6 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*
Please sign in to comment.
Something went wrong with that request. Please try again.