RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: resources x
Sharing Mustache Templates
Episode #295Oct 31, 201155 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 #277Aug 01, 201182 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 #305Dec 05, 201144 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 #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)
A Shell-Scripting Story
Episode #309Dec 19, 201139 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 #279Aug 15, 201175 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 #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)
Running JavaScript in Ruby
Episode #297Nov 07, 201147 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 #291Oct 17, 201153 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 #272Jun 27, 201186 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)