RailsCasts Pro episodes are now free!

Learn more or hide this

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)
Pagination with Kaminari
Episode #254Feb 21, 201191 comments

Pagination with Kaminari

If you need pagination in Rails 3 try out Kaminari. It is a clean, flexible solution which uses scopes to flow nicely with Active Record queries. Did I mention it also works with Mongoid? (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)
Metrics Metrics Metrics
Episode #252Feb 07, 201138 comments

Metrics Metrics Metrics

Metric Fu, Metrical, SimpleCov, Rails Best Practices, and more are covered in this episode on metrics. (7 minutes)
MetaWhere & MetaSearch
Episode #251Jan 31, 201165 comments

MetaWhere & MetaSearch

MetaWhere provides a way to do complex find conditions without SQL in Active Record. MetaSearch makes it easy to create search forms with many find options. (8 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)
Notifications in Rails 3
Episode #249Jan 17, 201134 comments

Notifications in Rails 3

Rails 3 comes with instrument support through the ActiveSupport::Notifications class. Call "subscribe" to listen to notifications, and "instrument" to send them. (10 minutes)
Offline Apps Part 2
Episode #248Jan 10, 201137 comments

Offline Apps Part 2

Learn how to make a site usable offline with HTML 5 localStorage. This last part of the series covers jquery-tmpl and jquery-offline. (14 minutes)
Offline Apps Part 1
Episode #247Jan 03, 201136 comments

Offline Apps Part 1

Learn how to make a site usable offline through an HTML 5 cache manifest. This first part of the series covers rack-offline and problems you may run into. (10 minutes)
AJAX History State
Episode #246Dec 27, 201051 comments

AJAX History State

The new pushState function in JavaScript allows us to change the full URL with AJAX. This means the back button, reloading, and bookmark support can be easily added. (10 minutes)