Permalink
Browse files

Fix deprecation warning in AS::Concern.

  • Loading branch information...
1 parent 92acd5d commit 305d5d5e90dce181c5e33e98e3217eec423ee1fc @josevalim josevalim committed Feb 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/concern.rb
@@ -114,7 +114,7 @@ def append_features(base)
if const_defined?("InstanceMethods")
base.send :include, const_get("InstanceMethods")
ActiveSupport::Deprecation.warn "The InstanceMethods module inside ActiveSupport::Concern will be " \
- "no longer included automatically. Please define instance methods directly in #{base} instead.", caller
+ "no longer included automatically. Please define instance methods directly in #{self} instead.", caller
end
base.class_eval(&@_included_block) if instance_variable_defined?("@_included_block")
end

0 comments on commit 305d5d5

Please sign in to comment.