Skip to content

Commit

Permalink
Pass caller to concat deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy committed Jul 9, 2008
1 parent 4ce9931 commit 350faf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_view/helpers/text_helper.rb
Expand Up @@ -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
Expand Down

0 comments on commit 350faf1

Please sign in to comment.