Flowdock
method

error_wrapping

Importance_0
v2.1.0 - 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 263
      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.