Permalink
Browse files

Fix AS::Concern example (current example doesn't work)

  • Loading branch information...
1 parent 3fb67b4 commit d0ba816fcf9a373949a920bbd7e91f113d956884 @maximerety maximerety committed Nov 15, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 activesupport/lib/active_support/concern.rb
@@ -4,7 +4,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

0 comments on commit d0ba816

Please sign in to comment.