From 21a3dce5caf1d5e3afc85870bdecf8e7e483f92f Mon Sep 17 00:00:00 2001 From: David Celis Date: Thu, 20 Sep 2018 17:03:15 -0700 Subject: Fix missing curly brace in documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This example was just missing a closing curly brace to complete the closure 😄 --- activerecord/lib/active_record/associations.rb | 1 + 1 file changed, 1 insertion(+) 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 # -- cgit v1.2.3