# File lib/action_view/helpers/active_model_helper.rb, line 49 def error_wrapping(html_tag) if object_has_errors? Base.field_error_proc.call(html_tag, self) else html_tag end end