Hi, does anyone have some suggestion as to how I would NOT persist a
if some condition/attribute check of the model instance is true?
The condition would be some method I run using before_save or similar,
would like a method within the model to set some parameter of the model
which would render it not saveable (no error or notice should be
– if it was a new instance, and would delete an existing instance of it
from the DB.
On 4 October 2011 06:45, Victor S. [email protected] wrote:
Hi, does anyone have some suggestion as to how I would NOT persist a model
Why is everybody asking questions twice today?
See previous reply by me, though I am not sure it answers all the
points below. Please continue the discussion on the other thread if
You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” group.
To view this discussion on the web visit
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
For more options, visit this group at