Permalink
Browse files

Pass caller to concat deprecation warning

  • Loading branch information...
1 parent 4ce9931 commit 350faf14e80740a440ab16c7130c5262d603d283 @jeremy jeremy committed Jul 7, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/helpers/text_helper.rb
@@ -27,7 +27,7 @@ module TextHelper
# %>
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

0 comments on commit 350faf1

Please sign in to comment.