RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: gem xControllers x
The Rails API Gem
Episode #348May 09, 201274 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 #259Mar 28, 201157 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 #230Sep 06, 201052 comments

Inherited Resources

Inherited Resource simplifies RESTful controllers by providing default actions which can be customized through inheritance. (9 minutes)
Generating PDF Documents
Episode #78Nov 04, 200769 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 #117Jul 07, 200873 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 #125Sep 01, 200842 comments

Dynamic Layouts

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