diff options
author | David Celis <me@davidcel.is> | 2018-09-20 17:03:15 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-20 17:03:15 -0700 |
commit | 21a3dce5caf1d5e3afc85870bdecf8e7e483f92f (patch) | |
tree | 8a78f9705063279556411ba75e144f4fdc744c2a /activerecord | |
parent | f3c359800a226388ea059801598cf7d8e4e95b1c (diff) | |
download | rails-21a3dce5caf1d5e3afc85870bdecf8e7e483f92f.tar.gz rails-21a3dce5caf1d5e3afc85870bdecf8e7e483f92f.tar.bz2 rails-21a3dce5caf1d5e3afc85870bdecf8e7e483f92f.zip |
Fix missing curly brace in documentation
This example was just missing a closing curly brace to complete the closure 😄
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/associations.rb | 1 |
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 # |