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?


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs