Errors.add_to_base translation missing: en, activerecord

In my model I am using errors.add_to_base:

errors.add_to_base “Error 1”

This works fine.

If I do this twice:

errors.add_to_base “Error 1”
errors.add_to_base “Error 2”

I receive the message:

translation missing: en, activerecord, errors, models, modelname,
attributes, base,

as part of my error messages.

Anyone know how to get rid of this?

Many thanks,

Mike

–

You received this message because you are subscribed to the Google
Groups “Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.