RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: test xPro Episodes xTools x
Fast Tests
Episode #413Apr 10, 2013200 comments

Fast Tests

A slow test suite can put a damper on test-driven development. In this episode I show a variety of ways to optimize specs including: selective testing, preloading Rails, and testing outside of Rails. (17 minutes)
Testing JavaScript with PhantomJS
Episode #391Nov 07, 201284 comments

Testing JavaScript with PhantomJS

PhantomJS allows us to test JavaScript without going through a browser window. Here I show how to do this using Capybara and Poltergeist. I also give some tips on handling database transactions and skipping javascript tests. (10 minutes)
Rack App from Scratch
Episode #317Jan 16, 201242 comments

Rack App from Scratch

Rack comes with many helpful utilities such as request and response objects, various middleware, and MockRequest for testing. Here I cover all of these while building a Rack app from scratch. (15 minutes)
Trinidad
Episode #377Aug 30, 201271 comments

Trinidad

Trinidad is designed to serve JRuby web applications and gives you the power of Java while still keeping the feel of traditional Rails deployment. Here I show how to setup a Capistrano recipe, configure it, and more. (15 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)
Facebook Graph API
Episode #361Jun 25, 201260 comments

Facebook Graph API

Learn how to use the Facebook Graph API with the Koala gem to fetch data from Facebook and post content through a user. Here I delve into permissions, error handling, and more. (14 minutes)
Asset Pipeline in Production
Episode #341Apr 11, 201266 comments

Asset Pipeline in Production

The Asset Pipeline is very useful, but it can be a pain in production. Here I show why it works the way it does, and how to customize it to fit your deployment setup. (13 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)