ActiveModel Callbacks

In the Jots (like tweets) in JotRod, I needed to generate a hash on creation as the key for the Jots. So, I determined that the easiest way to do that was to include ActiveModel Callbacks. The module is pretty simple to add to your classes. Here's a demo of how to add it to Sandra.[Sandra's repository](https://github.com/charlesmaxwood/sandra)[JotRod's repository](https://github.com/charlesmaxwood/jotrod)[Download](https://traffic.libsyn.com/tmtc/ActiveModelCallbacks.mov) 223 MB[Download (iPod & iPhone)](https://traffic.libsyn.com/tmtc/ActiveModelCallbacks-iPhone.m4v) 37 MB[Take the 2011 Readers Survey](https://teachmetocode.com/survey)

Sign up for the Newsletter

Join our newsletter and get updates in your inbox. We won’t spam you and we respect your privacy.