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

JotRod's repository

Download 223 MB
Download (iPod & iPhone) 37 MB
Take the 2011 Readers Survey