There's no documentation for this item.
Source Code
# File action_view/helpers/active_record_helper.rb, line 205 def tag(name, options) if object.respond_to?("errors") && object.errors.respond_to?("on") error_wrapping(tag_without_error_wrapping(name, options), object.errors.on(@method_name)) else tag_without_error_wrapping(name, options) end end
<code/>and<pre/>for code samples.