RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: migrations x
Geocoder
Episode #273Jul 04, 201193 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 #253Feb 14, 2011117 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 #262Apr 18, 201184 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 #250Jan 24, 2011129 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 #179Sep 14, 200964 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 #235Oct 11, 2010104 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 #241Nov 22, 201090 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 #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)
Undo with Paper Trail
Episode #255Feb 28, 201146 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 #209Apr 12, 2010116 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)