RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: resources x
Sharing Mustache Templates
Episode #295 – Oct 31, 2011 – 55 comments

Sharing Mustache Templates

Mustache is a simple, logic-less templating language which allows you to use the same template for both Ruby and JavaScript. See how to set it up with a custom template handler in this episode. (17 minutes)
Mountable Engines
Episode #277 – Aug 01, 2011 – 82 comments

Mountable Engines

Engines are receiving a major update in Rails 3.1. You can mount them at any path, embed assets, run generators and more. See how in this episode. (13 minutes)
Authentication with Warden
Episode #305 – Dec 05, 2011 – 44 comments

Authentication with Warden

Warden makes it easy to move authentication up into Rack middleware. This means authentication can be accessed outside of a Rails controller such as in routes or in a mountable engine. (12 minutes)
Messaging with Faye
Episode #260 – Apr 04, 2011 – 117 comments

Messaging with Faye

Faye is a subscription/publishing server which makes it easy to do push notifications within a Rails app. (13 minutes)
A Shell-Scripting Story
Episode #309 – Dec 19, 2011 – 39 comments

A Shell-Scripting Story

This episode continues off of the previous episode on Oh My ZSH showing how to script Z Shell. Here I show how to write a Rake autocompletion script and cover a few more useful utilities. (10 minutes)
Understanding the Asset Pipeline
Episode #279 – Aug 15, 2011 – 75 comments

Understanding the Asset Pipeline

The asset pipeline is probably the biggest feature in Rails 3.1, but it can seem like magic at first. Here I dive into exactly how the asset pipeline works. (11 minutes)
Token Fields
Episode #258 – Mar 21, 2011 – 118 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)
Running JavaScript in Ruby
Episode #297 – Nov 07, 2011 – 47 comments

Running JavaScript in Ruby

Sometimes logic needs to be shared between the server-side (Ruby) and the client-side (JavaScript). Here I show how to run JavaScript directly in Ruby through ExecJS and therubyracer. (14 minutes)
Testing with VCR
Episode #291 – Oct 17, 2011 – 53 comments

Testing with VCR

If you ever need to test an application which communicates with an external API, VCR is the way to go. Here I show a workflow in RSpec, how to use with capybara-mechanize, how to add sanitization filtering, and more. (13 minutes)
Markdown with Redcarpet
Episode #272 – Jun 27, 2011 – 86 comments

Markdown with Redcarpet

Redcarpet is an easy-to-use gem which interprets Markdown. Here I show how to customize it and add syntax highlighting through Pygments and Albino. (6 minutes)