ActiveModel Callbacks in Sandra

ActiveModel Callbacks in Sandra

For my Jot class in JotRod, I want the jot to set a hash of some kind as the key when it gets saved. This is the perfect scenario for using ActiveModels' callbacks functionality.br br It only took a few minutes to get set up, but works great! Now I have a key set up whenever I try saving a Jot.


User: teachmetocode

Views: 21

Uploaded: 2011-10-30

Duration: 08:13

Your Page Title