Flowdock
method

error_wrapping

Importance_0
error_wrapping(html_tag) 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_model_helper.rb, line 27
      def error_wrapping(html_tag)
        if object_has_errors?
          Base.field_error_proc.call(html_tag, self)
        else
          html_tag
        end
      end
Register or log in to add new notes.