aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/concern.rb
diff options
context:
space:
mode:
authormaximerety <maxime.rety@gmail.com>2012-11-15 19:16:36 +0100
committermaximerety <maxime.rety@gmail.com>2012-11-15 19:18:04 +0100
commitd0ba816fcf9a373949a920bbd7e91f113d956884 (patch)
treec17a47ba89a97e31447a8e49297949eca08362c4 /activesupport/lib/active_support/concern.rb
parent3fb67b4a9da81fd7f0d8c5726bd558e003ed9243 (diff)
downloadrails-d0ba816fcf9a373949a920bbd7e91f113d956884.tar.gz
rails-d0ba816fcf9a373949a920bbd7e91f113d956884.tar.bz2
rails-d0ba816fcf9a373949a920bbd7e91f113d956884.zip
Fix AS::Concern example (current example doesn't work)
Diffstat (limited to 'activesupport/lib/active_support/concern.rb')
-rw-r--r--activesupport/lib/active_support/concern.rb4
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