Hi, AFAIK after_create is called after_save if the entry does not exist in the DB.
Is there a way to tell if a specific model is new or not in after_save? I have to do something like: def after_save add_to_history 'save' end def after_create add_to_history 'create' end However after_save is called when creating too. -- cheers, M. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

