Flowdock
method

tag

Importance_0
v2.3.8 - Show latest stable - 0 notes - Class: ActionView::Helpers::InstanceTag
tag(name, options) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_view/helpers/active_record_helper.rb, line 248
      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
Register or log in to add new notes.