diff options
author | José Valim <jose.valim@plataformatec.com.br> | 2012-02-13 15:29:26 +0100 |
---|---|---|
committer | José Valim <jose.valim@plataformatec.com.br> | 2012-02-13 15:29:26 +0100 |
commit | 305d5d5e90dce181c5e33e98e3217eec423ee1fc (patch) | |
tree | 7110bff3f094d1c25bdd4c2b8b9211f476f01d17 /activesupport/lib | |
parent | 92acd5d0e7ea25cc829599c6d0d141d39933e59a (diff) | |
download | rails-305d5d5e90dce181c5e33e98e3217eec423ee1fc.tar.gz rails-305d5d5e90dce181c5e33e98e3217eec423ee1fc.tar.bz2 rails-305d5d5e90dce181c5e33e98e3217eec423ee1fc.zip |
Fix deprecation warning in AS::Concern.
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/concern.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/concern.rb b/activesupport/lib/active_support/concern.rb index 97fa2db4a9..ae1d0633ce 100644 --- a/activesupport/lib/active_support/concern.rb +++ b/activesupport/lib/active_support/concern.rb @@ -114,7 +114,7 @@ module ActiveSupport 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 |