Loading formats...
ActiveModel Callbacks in Sandra
T
teachmetocode
21 views • Oct 30, 2011
Description
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.
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.
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.
Discover more
Keywords & tags
More from this user
08:26
Upgrading JotRod to Rails 3.1.3
teachmetocode
28:28
Followers and Following
teachmetocode
08:13
ActiveModel Callbacks in Sandra
teachmetocode
22:38
Building a Model Generator
teachmetocode
20:24
Introduction to Sandra: The Cassandra ORM
teachmetocode
02:18
Welcome to Rails Coach First String
teachmetocode
Related videos
00:52
Unity: Particle Collision Callbacks
3djuegos
03:42
Firework- Katy Perry (The Harvard Callbacks)
Rueben Ernie
14:51
Top 10 Most Emotional Disney Callbacks
MsMojo
11:48
Top 10 Callbacks in Freakier Friday
MsMojo
01:40
Bridget Derville-Teer Interview SYTYCD Season 16 Callbacks
MaximoTV
01:25
Nigel Lythgoe Interview SYTYCD Season 16 Callbacks
MaximoTV