diff options
author | maximerety <maxime.rety@gmail.com> | 2012-11-15 19:16:36 +0100 |
---|---|---|
committer | maximerety <maxime.rety@gmail.com> | 2012-11-15 19:18:04 +0100 |
commit | d0ba816fcf9a373949a920bbd7e91f113d956884 (patch) | |
tree | c17a47ba89a97e31447a8e49297949eca08362c4 /activesupport/lib | |
parent | 3fb67b4a9da81fd7f0d8c5726bd558e003ed9243 (diff) | |
download | rails-d0ba816fcf9a373949a920bbd7e91f113d956884.tar.gz rails-d0ba816fcf9a373949a920bbd7e91f113d956884.tar.bz2 rails-d0ba816fcf9a373949a920bbd7e91f113d956884.zip |
Fix AS::Concern example (current example doesn't work)
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/concern.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/concern.rb b/activesupport/lib/active_support/concern.rb index fb7065ef3b..45bccd21c1 100644 --- a/activesupport/lib/active_support/concern.rb +++ b/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 |