RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: Models x
Non Active Record Model
Episode #121 – Aug 04, 2008 – 46 comments

Non Active Record Model

This episode will show you how to make a model which isn't based on Active Record. You may want to do this if a resource isn't backed by the database. (12 minutes)
Session Based Model
Episode #119 – Jul 21, 2008 – 63 comments

Session Based Model

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. (13 minutes)
scope_out
Episode #76 – Oct 22, 2007 – 32 comments

scope_out

The scope_out plugin will generate several helpful find methods for you automatically! It's the best way to move the find conditions into your model. Watch this episode for details. (6 minutes)
Complex Forms Part 3
Episode #75 – Oct 15, 2007 – 270 comments

Complex Forms Part 3

In this third and final episode on complex forms I will show you how to edit a project and multiple tasks all in one form. This includes removing and adding tasks dynamically as well. See the show notes for updated code. (16 minutes)