RailsCasts Pro episodes are now free!

Learn more or hide this

Rails 3.1 Overview
Episode #265May 09, 2011149 comments

Rails 3.1 Overview

This is the first episode in a series covering Rails 3.1. Here I show how to install the beta and show some of the new features. (13 minutes)
Guard
Episode #264May 02, 201157 comments

Guard

Guard watches files and runs a command after a file is modified. This allows you to automatically run tests in the background, restart your development server, reload the browser, and more. (8 minutes)
Client Side Validations
Episode #263Apr 25, 201176 comments

Client Side Validations

Showing validation errors inline as the user is filling out the form can lead to a better use experience. Learn how to do this using the Client Side Validations gem. (8 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)
Testing JavaScript with Jasmine
Episode #261Apr 11, 201144 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)
Messaging with Faye
Episode #260Apr 04, 2011117 comments

Messaging with Faye

Faye is a subscription/publishing server which makes it easy to do push notifications within a Rails app. (13 minutes)
Decent Exposure
Episode #259Mar 28, 201157 comments

Decent Exposure

The decent_exposure gem makes it convenient to share controller data with the view through methods instead of instance variables. (9 minutes)
Token Fields
Episode #258Mar 21, 2011118 comments

Token Fields

With the jQuery Tokeninput plugin it is easy to add an autocompleting list of entries for a many-to-many association. (11 minutes)
Request Specs and Capybara
Episode #257Mar 14, 201154 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)
I18n Backends
Episode #256Mar 07, 201154 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)