RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: Pro Episodes x
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)
Publishing a Gem
Episode #303Nov 28, 201130 comments

Publishing a Gem

In this second part on making a gem, you will learn how to publish a gem by releasing it to rubygems.org, testing it through Travis CI, documenting it on RubyDoc.info, and advertising it on various sites. (11 minutes)
Extracting a Ruby Gem
Episode #301Nov 21, 201140 comments

Extracting a Ruby Gem

In this episode I show how to extract a Ruby Gem from an existing Rails application, test it with RSpec and Supermodel, and add a Railtie. (16 minutes)
Rails Initialization Walkthrough
Episode #299Nov 14, 201130 comments

Rails Initialization Walkthrough

In this episode I walk you through the internals of the Rails initialization process and show exactly what happens behind the scenes when starting up the Rails application. (13 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)
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)
Nginx & Unicorn
Episode #293Oct 24, 201173 comments

Nginx & Unicorn

Nginx and Unicorn make a killer-combo for hosting a Rails application in production. Learn how to configure each in a Vagrant virtual machine in this episode. (19 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)
PayPal Recurring Billing
Episode #289Oct 10, 2011142 comments

PayPal Recurring Billing

Here I show how to add PayPal recurring payments to an existing checkout process using PayPal's Express Checkout and the paypal-recurring gem. (24 minutes)
Presenters from Scratch
Episode #287Oct 03, 2011122 comments

Presenters from Scratch

Clean up complex view logic with the help of presenters, and doing this from scratch gives you a lot of flexibility. Here I show not only how to create presenters, but how to test them using Test Unit and RSpec. (14 minutes)