Adding an ActiveRecord helper

well error_messages_for is an ActionView Helper, not an ActiveRecord Helper.

so defining your own "version" of it as a helper for your view would be the right way to go.

what "unwanted behaviour" did occur ? Maybe show some code how your helper looks right now.