Skip to content
This repository
Browse code

Fixed description for ActiveSupport::Concern typical case

  • Loading branch information...
commit 5b50c7d4d569069a1826c2876d654da7b047acc8 1 parent db994b7
Dmitry Vorotilin authored November 30, 2012
4  activesupport/lib/active_support/concern.rb
@@ -6,7 +6,9 @@ module ActiveSupport
6 6
   #   module M
7 7
   #     def self.included(base)
8 8
   #       base.extend ClassMethods
9  
-  #       scope :disabled, where(:disabled => true)
  9
+  #       base.class_eval do
  10
+  #         scope :disabled, where(:disabled => true)
  11
+  #       end
10 12
   #     end
11 13
   #
12 14
   #     module ClassMethods

0 notes on commit 5b50c7d

Please sign in to comment.
Something went wrong with that request. Please try again.