Forum: Ruby on Rails after_save and associations

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Peter (Guest)
on 2007-02-06 00:45
(Received via mailing list)
It appears that when after_save is triggered, associations such as
habtm haven't been populated yet.

Each association can have an :after_add callback, but my code needs to
access multiple associations.

Is there an explicit reason why after_save isn't triggered after all
of the associations have been populated?
This topic is locked and can not be replied to.