Functions To Call Upon: ActiveRecord Association Callbacks
We know and love ActiveRecord
’s callbacks. But do we really know all about them? This blog post uncovers Rails’ best-kept secret: association callbacks, aka your new best friend for all those has_many
relationships!
Post a comment