Forum: Ruby on Rails How to display validation error in layout ?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Chris C. (Guest)
on 2006-03-25 14:03
Hi, for now I have to put error_messages_for in every form off my app to
display validation errors.
I would prefer putting an error div into the layout of the app, which
would display both flash notice and validation errors accordingly for
every view of the app.

How can I retrieve all the errors message pending and not only the one
for a specific object instance ?

This topic is locked and can not be replied to.