RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: authorization xModels x
Mongoid
Episode #238Nov 01, 201081 comments

Mongoid

Mongoid is a polished, high-level Ruby gem for accessing MongoDB. Here I cover installation, adding fields, validations, associations, and keys. (11 minutes)
Dynamic attr_accessible
Episode #237Oct 25, 201065 comments

Dynamic attr_accessible

It is important to use attr_accessible for security with mass assignment, but what if you need it to be dynamic based on user permissions? See how in this episode. (9 minutes)
Session Based Model
Episode #119Jul 21, 200863 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)