Flowdock
method

error_wrapping

Importance_0
v2.3.2 - Show latest stable - 0 notes - Class: ActionView::Helpers::InstanceTag
error_wrapping(html_tag, has_error) 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 292
      def error_wrapping(html_tag, has_error)
        has_error ? Base.field_error_proc.call(html_tag, self) : html_tag
      end
Register or log in to add new notes.