In my model, validation errors work properly. The problem comes when I
try to add custom messages with self.errors.add. If I check with the
debugger, the messages are in self.errors. A runs with no
problem. The problem comes when the controller takes over. It does a
Model.find at the start of update and *POOF* all the messages are
cleared. How can I display the messages and behave like the validation
messages do ?? BTW, I'm running 2.3.9

Bob <>

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
To unsubscribe from this group, send email to
For more options, visit this group at

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
grouprubyonrails-talk @
postedFeb 26, '12 at 9:25p
activeFeb 26, '12 at 9:39p

2 users in discussion

Colin Law: 1 post Bob Smith: 1 post



site design / logo © 2022 Grokbase