Skip to content

Instantly share code, notes, and snippets.

@liangzan
Created September 8, 2010 23:45
Show Gist options
  • Save liangzan/571072 to your computer and use it in GitHub Desktop.
Save liangzan/571072 to your computer and use it in GitHub Desktop.
# actionpack/lib/action_view/helpers/text_helper.rb
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.", caller)
end
output_buffer.safe_concat(string)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment