aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2015-10-31 14:44:04 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2015-10-31 14:52:24 +0900
commita9402862a115daa7e75a6f61eaacf05f312d0bd6 (patch)
tree1906f279368b3eb7a8fee58141b47adf4ff9a8e9 /activerecord
parente76c38ef1047ad3ffb25c1c639c38432a9228796 (diff)
downloadrails-a9402862a115daa7e75a6f61eaacf05f312d0bd6.tar.gz
rails-a9402862a115daa7e75a6f61eaacf05f312d0bd6.tar.bz2
rails-a9402862a115daa7e75a6f61eaacf05f312d0bd6.zip
minor formatting changes [ci skip]
* add newline for display the fenced code block * add "#" in the comments section
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/CHANGELOG.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 82d0c91c58..90cf71521a 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,9 +1,10 @@
* Added `ActiveRecord::Relation#left_outer_joins`.
Example:
+
User.left_outer_joins(:posts)
- => SELECT "users".* FROM "users" LEFT OUTER JOIN "posts" ON
- "posts"."user_id" = "users"."id"
+ # => SELECT "users".* FROM "users" LEFT OUTER JOIN "posts" ON
+ "posts"."user_id" = "users"."id"
*Florian Thomas*