RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: rails xPro Episodes x
Hacking with Arel
Episode #355 – May 30, 2012 – 70 comments

Hacking with Arel

Here I show a variety of ways to rewrite a long SQL query using only Active Record and Arel. This includes generating scopes dynamically, adding an "or" operator, and adding a powerful "match" method. (15 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)
Extending Refinery CMS
Episode #333 – Mar 14, 2012 – 63 comments

Extending Refinery CMS

Here I continue on Refinery and show how to add database-backed content by generating an engine. You will also learn how to override Refinery's views and controllers in this episode. (14 minutes)
Rollout and Degrade
Episode #315 – Jan 09, 2012 – 47 comments

Rollout and Degrade

Learn how to use the Rollout gem to deploy a feature to a select group of users and the Degrade gem to automatically disable it upon failure. Also included is a way of doing this from scratch. (13 minutes)
ElasticSearch Part 2
Episode #307 – Dec 12, 2011 – 61 comments

ElasticSearch Part 2

This final part on ElasticSearch and Tire will show how to make more complex search queries, customize the indexing, and add facets. (16 minutes)
Running JavaScript in Ruby
Episode #297 – Nov 07, 2011 – 47 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)