# ActiveModel Callbacks

> Episode of [Teach Me To Code » Screencasts](https://podistic.com/podcast/teach-me-to-code-screencasts.md) · Published November 9, 2011

- **Listen on Podistic:** https://podistic.com/episode/1297--activemodel-callbacks
- **Audio:** http://traffic.libsyn.com/tmtc/ActiveModelCallbacks.mov (video/quicktime)

## About this episode

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
