RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: gem 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)
Generating PDF Documents
Episode #78 – Nov 04, 2007 – 69 comments

Generating PDF Documents

In this episode I will show you how to create PDF documents using the excellent PDF::Writer gem. (7 minutes)
Semi-Static Pages
Episode #117 – Jul 07, 2008 – 73 comments

Semi-Static Pages

Static pages can sometimes be a little awkward to add to a Rails app. See a couple different solutions to this problem in this episode. (14 minutes)
Dynamic Layouts
Episode #125 – Sep 01, 2008 – 42 comments

Dynamic Layouts

Discover how to dynamically change the layout using content in the database. Check out this episode for details. (11 minutes)