RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: migrations xViews x
Extending Refinery CMS
Episode #333 – Mar 14, 2012 – 63 comments

Extending Refinery CMS

Here I continue on Refinery and show how to add database-backed content by generating an engine. You will also learn how to override Refinery's views and controllers in this episode. (14 minutes)
Advanced Search Form (revised)
Episode #111 – Nov 17, 2011 – 61 comments

Advanced Search Form (revised)

It is often best to use a GET request when submitting a search form, however if it is an advanced search form with a lot of fields then this may not be ideal. Here I show how to create a search resource to handle this. (6 minutes)
Nested Model Form Part 1
Episode #196 – Jan 11, 2010 – 184 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)
A/B Testing with A/Bingo
Episode #214 – May 17, 2010 – 52 comments

A/B Testing with A/Bingo

A/B Testing (or Split Testing) is a way to experiment with variations in an application to see the most effective option. (11 minutes)
Embedded Association
Episode #189 – Nov 23, 2009 – 83 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)
Validations in Rails 3
Episode #211 – Apr 26, 2010 – 59 comments

Validations in Rails 3

Rails 3 offers several new additions to validations. Here learn how to make a custom error_messages partial, reflect on validations, and clean up complex validations in a model. (9 minutes)
Formtastic Part 1
Episode #184 – Oct 19, 2009 – 78 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)
Formtastic Part 2
Episode #185 – Oct 26, 2009 – 74 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)
Dynamic Layouts
Episode #125 – Sep 01, 2008 – 42 comments

Dynamic Layouts

Discover how to dynamically change the layout using content in the database. Check out this episode for details. (11 minutes)