for ActiveRecord, there is the helper “error_messages_for”. I would like
to extend this, in order to make it possible to spit out validation
errors for more than one model object. Where would I have to place my
code in order to make the new helper work appropriately? I defined it as
a helper for my view, which lead to unwanted behaviour.