RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: gem x
The Rails API Gem
Episode #348 – May 09, 2012 – 74 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)
Publishing a Gem
Episode #303 – Nov 28, 2011 – 30 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 #301 – Nov 21, 2011 – 40 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)
Foundation
Episode #417 – Jun 16, 2013 – 333 comments

Foundation

ZURB's Foundation is a front-end for quickly building applications and prototypes. It is similar to Twitter Bootstrap but uses Sass instead of LESS. Here you will learn the basics of the grid system, navigation, tooltips and more. (11 minutes)
New Gem with Bundler
Episode #245 – Dec 20, 2010 – 37 comments

New Gem with Bundler

Creating new gems is easy with the `bundle gem` command. In this episode I will walk you through how this works. (7 minutes)
Public Activity
Episode #406 – Feb 13, 2013 – 155 comments

Public Activity

Learn how to easily add a user activity feed using the public_activity gem. Here I show both the default setup using model callbacks and a manual way to trigger activities. (10 minutes)
Active Model Serializers
Episode #409 – Mar 09, 2013 – 139 comments

Active Model Serializers

The ActiveModel::Serializers gem can help you build JSON APIs through serializer objects. This provides a dedicated place to fully customize the JSON output. (10 minutes)
Deploying to a VPS
Episode #335 – Mar 21, 2012 – 389 comments

Deploying to a VPS

Deploying a Rails application can be overwhelming because there are so many different options. Here I present a pattern for deploying a Rails app to a VPS using nginx, Unicorn, PostgreSQL, rbenv and more. (18 minutes)
Facebook Authentication
Episode #360 – Jun 25, 2012 – 196 comments

Facebook Authentication

This will show how to create a new facebook application and configure it. Then add some authentication with the omniauth-facebook gem and top it off with a client-side authentication using the JavaScript SDK. (12 minutes)
Backbone on Rails Part 1
Episode #323 – Feb 08, 2012 – 207 comments

Backbone on Rails Part 1

In this first part of a two part series you will learn basic Backbone concepts including models, collections, routers, views and events. The backbone-on-rails gem is used for Rails integration with the asset pipeline. (18 minutes)