ActionView::Base.field_error_proc where to put it?

I found out that ActionView::Base.field_error_proc can be modified to
output whatever error format I want for webform elements. At the moment
I have it sitting in application_helper.rb and it works just fine.
However, I feel that it isn’t the proper place for it. Where do you
normally store modified classes?

Thanks.