RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: Free Episodes x
ActiveAttr
Episode #326Feb 21, 201254 comments

ActiveAttr

ActiveAttr provides what Active Model left out. If you need to create a table-less model with features similar to Active Record, watch this episode. (5 minutes)
Passing Data to JavaScript
Episode #324Feb 13, 201277 comments

Passing Data to JavaScript

There are a variety of ways to pass variables from a Rails application to JavaScript. Here I show three techniques: a script tag, a data attribute, and the Gon gem. (6 minutes)
RABL
Episode #322Feb 08, 201264 comments

RABL

RABL - Ruby API Builder Language - provides a DSL for generating JSON or XML responses in a Ruby application. Learn how to share and configure complex JSON data in this episode. (8 minutes)
Jbuilder
Episode #320Jan 30, 201278 comments

Jbuilder

Jbuilder provides a DSL for generating JSON. It includes a template engine which allows you to create complex responses with helpers and conditions. (8 minutes)
Upgrading to Rails 3.2
Episode #318Jan 23, 201252 comments

Upgrading to Rails 3.2

Rails 3.2 sports many new features including automatic explain queries, tagged logging, key-value store in Active Record, improved migration generator and more. Learn all about these new features in this episode. (9 minutes)
Private Pub
Episode #316Jan 16, 2012133 comments

Private Pub

Private Pub makes it easier than ever to publish and subscribe to real-time events in a Rails app. You can use publish_to with a block of JavaScript or supply a hash for use with JSON. (7 minutes)
Pretty URLs with FriendlyId
Episode #314Jan 09, 201299 comments

Pretty URLs with FriendlyId

If you are tired of model ids in the URL, overriding to_param can only get you so far. The friendly_id plugin can help by making it easy to generate a URL slug and maintain a history. (7 minutes)
Sending HTML Email
Episode #312Jan 02, 201249 comments

Sending HTML Email

HTML email can be difficult to code because any CSS should be made inline. Here I present a few tools for doing this including the premailer-rails3 and roadie gems. (5 minutes)
Getting Started with Rails
Episode #310Dec 26, 201161 comments

Getting Started with Rails

Learning Ruby on Rails can be overwhelming, especially if you are new to programming. Here I will take you on a tour through various resources to help get started with Rails. (7 minutes)
Oh My ZSH
Episode #308Dec 19, 201179 comments

Oh My ZSH

As Rails developers, we frequently use the command line. Here I will show how to switch to Z Shell using Oh My ZSH including how to make your own theme and plugins. (9 minutes)