From 5b50c7d4d569069a1826c2876d654da7b047acc8 Mon Sep 17 00:00:00 2001 From: Dmitry Vorotilin Date: Fri, 30 Nov 2012 10:34:08 +0400 Subject: Fixed description for ActiveSupport::Concern typical case --- activesupport/lib/active_support/concern.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'activesupport/lib') diff --git a/activesupport/lib/active_support/concern.rb b/activesupport/lib/active_support/concern.rb index ae1d0633ce..677f7c0bb0 100644 --- a/activesupport/lib/active_support/concern.rb +++ b/activesupport/lib/active_support/concern.rb @@ -6,7 +6,9 @@ module ActiveSupport # module M # def self.included(base) # base.extend ClassMethods - # scope :disabled, where(:disabled => true) + # base.class_eval do + # scope :disabled, where(:disabled => true) + # end # end # # module ClassMethods -- cgit v1.2.3