On 7 February 2011 21:35, Matias Fierro <[email protected]> wrote: > I want to trigger a callback after the creation of an object. With a > after_create I have the problem that if the record crash for any > reason when save, then I have some corrupt data. So I need a callback > after_save but only when the record is new.
As far as I know after_create *is* after_save but only when the record is new. What is the problem that you have using after_create? Colin -- 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.

