RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: Free Episodes xControllers 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)
Decent Exposure
Episode #259 – Mar 28, 2011 – 57 comments

Decent Exposure

The decent_exposure gem makes it convenient to share controller data with the view through methods instead of instance variables. (9 minutes)
Inherited Resources
Episode #230 – Sep 06, 2010 – 52 comments

Inherited Resources

Inherited Resource simplifies RESTful controllers by providing default actions which can be customized through inheritance. (9 minutes)
Controllers in Rails 3
Episode #224 – Jul 26, 2010 – 48 comments

Controllers in Rails 3

Embedded flash notices, permanent cookies, and the details of respond_with are in this episode. (10 minutes)
Mobile Devices
Episode #199 – Feb 01, 2010 – 89 comments

Mobile Devices

Change the look and behavior of a Rails app on mobile devices. Also use jQTouch to build a native-looking interface. (13 minutes)
Self-Referential Association
Episode #163 – May 25, 2009 – 88 comments

Self-Referential Association

Creating a social networking site often requires a self-referential association on the User model to define friends/followers. In this episode I show how to do exactly that. (14 minutes)
jQuery
Episode #136 – Nov 17, 2008 – 114 comments

jQuery

How do you use jQuery with Rails? In this episode I redo episode #43 using jQuery instead of Prototype/RJS. (9 minutes)
Helpers Outside Views
Episode #132 – Oct 20, 2008 – 58 comments

Helpers Outside Views

Have you ever wanted to access helper methods outside of the view layer? In this episode I show you a couple ways to do just that. (6 minutes)
Going Back
Episode #131 – Oct 12, 2008 – 45 comments

Going Back

This episode demonstrates a couple ways to redirect the user back to a previous page. Applying this to your site can help minimize the user's need to press the back button. (4 minutes)
Rake in Background
Episode #127 – Sep 15, 2008 – 62 comments

Rake in Background

In need of a background process? You may be able to accomplish this with a simple Rake task. See how in this episode. (10 minutes)