Login
From:
Robert Mosolgo
(Uncensored)
subscribe
Batman.Model Lifecycle Callbacks
https://rmosolgo.github.io/batman.js/2014/03/19/batman-dot-model-lifecycle-callbacks.html
links
backlinks
Roast topics
Find topics
Find it!
A Batman.Model has a lifecycle object that fires events on the record when it’s being dirtied, cleaned, loaded, saved or destroyed. Hooking up callbacks Love ‘em or hate ‘em, Active Record callbacks can be just the thin...