Sign in through GitHub
Tableless Model
Episode #193Dec 21, 200924 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, 200970 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, 200940 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, 200938 comments

Screen Scraping with Nokogiri

Screen scraping is easy with Nokogiri and SelectorGadget. (13 minutes)
Embedded Association
Episode #189Nov 23, 200953 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, 200982 comments

Declarative Authorization

Declarative authorization provides an advanced and powerful solution for role based authorization. (15 minutes)
Testing Exceptions
Episode #187Nov 09, 200928 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)
Pickle with Cucumber
Episode #186Nov 02, 200931 comments

Pickle with Cucumber

Pickle adds many convenient Cucumber steps for generating models. Also learn about table diffs in this episode. (16 minutes)
Formtastic Part 2
Episode #185Oct 26, 200946 comments

Formtastic Part 2

Learn about some of the more advanced functionality of Formtastic including handling many-to-many associations, required fields, and styling. (9 minutes)
Formtastic Part 1
Episode #184Oct 19, 200947 comments

Formtastic Part 1

Formtastic is a concise way to generate form views. In this episode (part 1 of 2) I show how to generate both a simple form and a more complex one which is customized with options. (10 minutes)