error_messages_for, can i overide the name in the title?

There is a plugin that does what you want: http://agilewebdevelopment.com/plugins/error_messages_for

I use it in my production applications and it’s quite useful. I don’t think I’ve even scratched the surface in my current iterations of what is possible and convient with it.

The most important feature you’ll like of it is if you create a method called business_name in any of your models and have it return a string, that string will be used as the text when referring to that model.

So in a model like this

class Monday < AR::Blah::Blah

def business_name “Tuesday” end

end

Monday becomes Tuesday.

Taylor SIngletary, Reality Technician

http://www.realitytechnicians.com