On Aug 26, 11:56 am, Adriano Nagel <[email protected]> wrote:
> has_many :entries, :dependent => :delete_all
>   save! # will fail if an exception is thrown below

Nothing like explaining your problem to others :-)

I figure feed.save tries to save the associated entry and that throws
the exception again.

I have to delete the offending entry inside the rescue clause.

Thanks,

--
Adriano

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to