RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: resources xViews x
Nested Model Form Part 1
Episode #196Jan 11, 2010184 comments

Nested Model Form Part 1

Handling multiple models in a single form is much easier with the accepts_nested_attributes_for method. See how to use this method to handle nested model fields. (11 minutes)
I18n Backends
Episode #256Mar 07, 201154 comments

I18n Backends

Internationalization is easy to add in Rails, but the YAML files can be difficult to manage. In this episode I show how to use Redis for managing the translations through a web interface. (11 minutes)
Sortable Table Columns
Episode #228Aug 23, 201097 comments

Sortable Table Columns

Here I walk you through adding the ability to sort table columns in ascending or descending order by clicking the header. (10 minutes)
PDFKit
Episode #220Jun 28, 201096 comments

PDFKit

Generating PDFs in plain Ruby can be a lot of work. Instead, consider generating PDFs from HTML using PDFKit. (8 minutes)
Calendars
Episode #213May 10, 2010103 comments

Calendars

If dates play an important role in your application, consider adding a date picker or calendar view as shown in this episode. (9 minutes)
Charts
Episode #223Jul 19, 201081 comments

Charts

There are a number of libraries to help create graphs. Here I show how to integrate Highcharts into a Rails app. (16 minutes)
Multistep Forms
Episode #217Jun 07, 201092 comments

Multistep Forms

See how to create a multi-step (wizard) form from scratch in this episode. (15 minutes)
Unobtrusive Javascript
Episode #205Mar 15, 201084 comments

Unobtrusive Javascript

Keep JavaScript out of your HTML content with unobtrusive JavaScript. Here I show how Rails 3 works with this best practice. (13 minutes)
Mobile Devices
Episode #199Feb 01, 201089 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)
Validations in Rails 3
Episode #211Apr 26, 201059 comments

Validations in Rails 3

Rails 3 offers several new additions to validations. Here learn how to make a custom error_messages partial, reflect on validations, and clean up complex validations in a model. (9 minutes)