RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: migrations x
Geocoder
Episode #273 – Jul 04, 2011 – 93 comments

Geocoder

If you need to work with geographic data, Geocoder is an excellent gem for converting addresses and coordinates, finding nearby locations, determining distances, and more! (8 minutes)
CarrierWave File Uploads
Episode #253 – Feb 14, 2011 – 117 comments

CarrierWave File Uploads

CarrierWave makes it easy and clean to add file uploads to your application. It supports a variety of ORMs, frameworks and image processors. (9 minutes)
Trees with Ancestry
Episode #262 – Apr 18, 2011 – 84 comments

Trees with Ancestry

The Ancestry gem works like a tree but also allows us to fetch deeply nested messages in a single query. It provides a method to arrange them after fetching. (9 minutes)
Authentication from Scratch
Episode #250 – Jan 24, 2011 – 129 comments

Authentication from Scratch

Password authentication is not too complicated to make from scratch, it will also help to get a better understanding of how it works. (15 minutes)
Seed Data
Episode #179 – Sep 14, 2009 – 64 comments

Seed Data

Rails 2.3.4 includes a conventional way to add seed data to your application - no more including it in the migration files. (7 minutes)
OmniAuth Part 1
Episode #235 – Oct 11, 2010 – 104 comments

OmniAuth Part 1

OmniAuth is an easy way to add many different authentication services to your app. In this episode we start integrating it with Devise. (10 minutes)
Simple OmniAuth
Episode #241 – Nov 22, 2010 – 90 comments

Simple OmniAuth

Authentication is incredibly simple to add with just OmniAuth if you don't need username/password or multiple authentications per user. (9 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)
Undo with Paper Trail
Episode #255 – Feb 28, 2011 – 46 comments

Undo with Paper Trail

Undo and redo behavior is easy to add with a versioning gem such as Paper Trail. Learn how to add an undo link to any model's flash message. (13 minutes)
Introducing Devise
Episode #209 – Apr 12, 2010 – 116 comments

Introducing Devise

Devise is a full-featured authentication solution which handles all of the controller logic and form views for you. Learn how to set it up in this episode. (10 minutes)