RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: api xPlugins 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)
Facebook Graph API
Episode #361 – Jun 25, 2012 – 60 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)
Ember Part 2
Episode #410 – Mar 12, 2013 – 140 comments

Ember Part 2

Here we continue our look into Ember.js. First we add a JSON API to persist the entries through ember-data. Then we finish up the project by adding a computed property and a view object. (14 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)
OAuth with Doorkeeper
Episode #353 – May 23, 2012 – 90 comments

OAuth with Doorkeeper

Doorkeeper makes it easy to create an OAuth 2 provider. This episode also shows how to setup OmniAuth as an OAuth client and use the oauth2 gem to communicate with an API. (19 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)
RABL
Episode #322 – Feb 08, 2012 – 64 comments

RABL

RABL - Ruby API Builder Language - provides a DSL for generating JSON or XML responses in a Ruby application. Learn how to share and configure complex JSON data in this episode. (8 minutes)
SOAP with Savon
Episode #290 – Oct 17, 2011 – 46 comments

SOAP with Savon

Communicating with a SOAP API can be a daunting task. Savon makes this easier by presenting the SOAP API through a Ruby interface. (9 minutes)
Testing with VCR
Episode #291 – Oct 17, 2011 – 53 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)
Twitter Integration
Episode #359 – Jun 15, 2012 – 76 comments

Twitter Integration

Here I show how to integrate Twitter into a Rails app. This includes fetching data, caching it, and even how to authenticate as a user signing in to your application through Twitter. (14 minutes)