aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2008-07-07 11:02:15 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2008-07-09 10:42:29 -0700
commit350faf14e80740a440ab16c7130c5262d603d283 (patch)
treec11124f438a74118829c1bb18e63ea79d20a14de /actionpack
parent4ce9931f4f30045b2975328e7d42a02188e35079 (diff)
downloadrails-350faf14e80740a440ab16c7130c5262d603d283.tar.gz
rails-350faf14e80740a440ab16c7130c5262d603d283.tar.bz2
rails-350faf14e80740a440ab16c7130c5262d603d283.zip
Pass caller to concat deprecation warning
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_view/helpers/text_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/text_helper.rb b/actionpack/lib/action_view/helpers/text_helper.rb
index a6c48737e9..3e3452b615 100644
--- a/actionpack/lib/action_view/helpers/text_helper.rb
+++ b/actionpack/lib/action_view/helpers/text_helper.rb
@@ -27,7 +27,7 @@ module ActionView
# %>
def concat(string, unused_binding = nil)
if unused_binding
- ActiveSupport::Deprecation.warn("The binding argument of #concat is no longer needed. Please remove it from your views and helpers.")
+ ActiveSupport::Deprecation.warn("The binding argument of #concat is no longer needed. Please remove it from your views and helpers.", caller)
end
output_buffer << string