RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: Free Episodes x
Nested Model Form Part 1
Episode #196Jan 11, 2010184 comments

Nested Model Form Part 1

Handling multiple models in a single form is much easier with the accepts_nested_attributes_for method. See how to use this method to handle nested model fields. (11 minutes)
My Favorite Web Apps in 2009
Episode #195Jan 04, 201059 comments

My Favorite Web Apps in 2009

Here I show several of my favorite web applications which I found most helpful as a Ruby developer over the past year. (6 minutes)
MongoDB and MongoMapper
Episode #194Dec 28, 200976 comments

MongoDB and MongoMapper

MongoDB is a document based database engine. Learn how to access it through MongoMapper in this episode. (13 minutes)
Tableless Model
Episode #193Dec 21, 200955 comments

Tableless Model

If you want to create a model without a database backend, you simply need to define a couple methods in the model like I show in this episode. (8 minutes)
Authorization with CanCan
Episode #192Dec 14, 2009114 comments

Authorization with CanCan

CanCan is a simple authorization plugin that offers a lot of flexibility. See how to use it in this episode. (15 minutes)
Mechanize
Episode #191Dec 07, 200967 comments

Mechanize

Mechanize extends the power of Nokogiri allowing you to interact with multiple pages on the site: click links, submit forms, etc. (10 minutes)
Screen Scraping with Nokogiri
Episode #190Nov 30, 200962 comments

Screen Scraping with Nokogiri

Screen scraping is easy with Nokogiri and SelectorGadget. (13 minutes)
Embedded Association
Episode #189Nov 23, 200983 comments

Embedded Association

Learn how to set up a one-to-many or many-to-many association which is entirely embedded into a single column through a string or bitmask. (14 minutes)
Declarative Authorization
Episode #188Nov 16, 2009114 comments

Declarative Authorization

Declarative authorization provides an advanced and powerful solution for role based authorization. (15 minutes)
Testing Exceptions
Episode #187Nov 09, 200955 comments

Testing Exceptions

Sometimes bad code slips into production and triggers a 500 error. Learn how to be notified of this and resolve it through integration tests. (10 minutes)