aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuji Yaginuma <yuuji.yaginuma@gmail.com>2018-09-21 09:11:18 +0900
committerGitHub <noreply@github.com>2018-09-21 09:11:18 +0900
commita44b7f180d0f03613479fb227d09ce2d7f74a187 (patch)
tree8a78f9705063279556411ba75e144f4fdc744c2a
parentf3c359800a226388ea059801598cf7d8e4e95b1c (diff)
parent21a3dce5caf1d5e3afc85870bdecf8e7e483f92f (diff)
downloadrails-a44b7f180d0f03613479fb227d09ce2d7f74a187.tar.gz
rails-a44b7f180d0f03613479fb227d09ce2d7f74a187.tar.bz2
rails-a44b7f180d0f03613479fb227d09ce2d7f74a187.zip
Merge pull request #33933 from davidcelis/patch-1
Fix missing curly brace in documentation
-rw-r--r--activerecord/lib/active_record/associations.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb
index 70b2ca7d7e..b1778732dd 100644
--- a/activerecord/lib/active_record/associations.rb
+++ b/activerecord/lib/active_record/associations.rb
@@ -1762,6 +1762,7 @@ module ActiveRecord
# has_and_belongs_to_many :projects, -> { includes(:milestones, :manager) }
# has_and_belongs_to_many :categories, ->(post) {
# where("default_category = ?", post.default_category)
+ # }
#
# === Extensions
#