RailsCasts Pro episodes are now free!

Learn more or hide this

Session Based Model

#119 Session Based Model

Jul 21, 2008 | 13 minutes | Models
If you have a lot of logic associated with the data inside a session, you'll need some central location to put this logic. See how to create a session based model in this episode.
  • Download:
  • source codeProject Files in Zip (93.2 KB)
  • mp4Full Size H.264 Video (21.3 MB)
  • m4vSmaller H.264 Video (14.2 MB)
  • webmFull Size VP8 Video (35.8 MB)
  • ogvFull Size Theora Video (31.4 MB)