RailsCasts Pro episodes are now free!

Learn more or hide this

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)
Pagination with Kaminari
Episode #254 – Feb 21, 2011 – 91 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 #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)
Metrics Metrics Metrics
Episode #252 – Feb 07, 2011 – 38 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 #251 – Jan 31, 2011 – 65 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 #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)
Notifications in Rails 3
Episode #249 – Jan 17, 2011 – 34 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 #248 – Jan 10, 2011 – 37 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 #247 – Jan 03, 2011 – 36 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 #246 – Dec 27, 2010 – 51 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)