RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: resources xFree Episodes x
The Rails API Gem
Episode #348May 09, 201274 comments

The Rails API Gem

It is often asked: Is Rails a good fit if I only need to serve an API? In this episode I show how to use the Rails API gem to create a slimmer Rails application designed to respond with JSON. (9 minutes)
Queue Classic
Episode #344Apr 24, 201269 comments

Queue Classic

PostgreSQL can act as a worker queue which can replace the need for a separate process to manage the background jobs. Here you will learn how to do this with the queue_classic gem. (8 minutes)
Copycopter
Episode #336Mar 27, 201276 comments

Copycopter

Copycopter provides a nice interface that clients can use to edit the text in a Rails application. Learn how to deploy a Copycopter server using Heroku and integrate it in a Rails application through I18n. (6 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)
Billing with Stripe
Episode #288Oct 10, 2011125 comments

Billing with Stripe

Stripe is a full-stack payment solution with very reasonable pricing and is easy to setup. See how to add it to a Rails application here. Currently only available in the US. (16 minutes)
Mercury Editor
Episode #296Nov 07, 2011101 comments

Mercury Editor

Mercury allows you to edit a section of HTML directly in the web browser through a WYSIWYG editor. Here I show how to integrate Mercury into a Rails app and save the changes back to the database. (11 minutes)
Refinery CMS Basics
Episode #332Mar 14, 201277 comments

Refinery CMS Basics

If you need to quickly create an informational site that can be easily edited, consider using a content management system. Here I show how to build a site using Refinery CMS. (11 minutes)
Globalize3
Episode #338Apr 04, 201267 comments

Globalize3

Rails has great internationalization (I18n) support making it easy to translate static text into other languages, but how do we translate database content? Learn how using Globalize 3 in this episode. (5 minutes)
OmniAuth Identity
Episode #304Dec 05, 201185 comments

OmniAuth Identity

With the release of OmniAuth 1.0 there is a new Identity strategy which allows users to register/login with a password if they don't want to use an external provider. (11 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)