RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: resources xFree Episodes x
Request Specs and Capybara
Episode #257 – Mar 14, 2011 – 54 comments

Request Specs and Capybara

Request specs in RSpec are a great way to ensure the entire application stack is working properly. Here I also show how to use capybara with integrated JavaScript testing using Selenium. (13 minutes)
Testing JavaScript with Jasmine
Episode #261 – Apr 11, 2011 – 44 comments

Testing JavaScript with Jasmine

Are you testing your JavaScript? Learn how to add specs using Jasmine. This episode also covers jQuery integration with jasmine-jquery. (15 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)
I18n Backends
Episode #256 – Mar 07, 2011 – 54 comments

I18n Backends

Internationalization is easy to add in Rails, but the YAML files can be difficult to manage. In this episode I show how to use Redis for managing the translations through a web interface. (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)
Mongoid
Episode #238 – Nov 01, 2010 – 81 comments

Mongoid

Mongoid is a polished, high-level Ruby gem for accessing MongoDB. Here I cover installation, adding fields, validations, associations, and keys. (11 minutes)
Sortable Table Columns
Episode #228 – Aug 23, 2010 – 97 comments

Sortable Table Columns

Here I walk you through adding the ability to sort table columns in ascending or descending order by clicking the header. (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)
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)
Dynamic attr_accessible
Episode #237 – Oct 25, 2010 – 65 comments

Dynamic attr_accessible

It is important to use attr_accessible for security with mass assignment, but what if you need it to be dynamic based on user permissions? See how in this episode. (9 minutes)