Method: ActionView::Helpers::ActiveModelInstanceTag#tag

Defined in:
lib/action_view/helpers/active_model_helper.rb

#tag(type, options) ⇒ Object



22
23
24
# File 'lib/action_view/helpers/active_model_helper.rb', line 22

def tag(type, options, *)
  tag_generate_errors?(options) ? error_wrapping(super) : super
end