Railscasts

Three times a week you will be treated to a new Railscasts episode featuring tips and tricks with Ruby on Rails, the popular web development framework. These screencasts are short and focus on one technique so you can quickly move on to applying it to your own project. The topics are geared toward the intermediate Rails developer, but beginners and experts will get something out of it as well.

Episode 220: PDFKit


2 months ago by Ryan Bates on Railscasts.
Generating PDFs in plain Ruby can be a lot of work. Instead, consider generating PDFs from HTML using PDFKit....

Episode 219: Active Model


2 months ago by Ryan Bates on Railscasts.
In Rails 3 the non-database functionality of Active Record is extracted out into Active Model. This allows you to cleanly add validations and other features...

Episode 218: Making Generators in Rails 3


2 months ago by Ryan Bates on Railscasts.
Generators in Rails 3 have been rewritten to use Thor which means the code used to create a generator is quite different. Here you will learn the new way...

Episode 217: Multistep Forms


3 months ago by Ryan Bates on Railscasts.
See how to create a multistep (wizard) form from scratch in this episode....

Episode 216: Generators in Rails 3


3 months ago by Ryan Bates on Railscasts.
Generators in Rails 3 have been completely rewritten to be more modular. This allows you to customize any generator to fit your specific preferences....

Episode 215: Advanced Queries in Rails 3


3 months ago by Ryan Bates on Railscasts.
Learn some advanced techniques regarding named scopes and get an introduction to Arel in this episode....

Episode 214: A/B Testing with A/Bingo


3 months ago by Ryan Bates on Railscasts.
A/B Testing (or Split Testing) is a way to experiment with variations in an application to see the most effective option....

Episode 213: Calendars


4 months ago by Ryan Bates on Railscasts.
If dates play an important role in your application, consider adding a date picker or calendar view as shown in this episode....

Episode 212: Refactoring & Dynamic Delegator


4 months ago by Ryan Bates on Railscasts.
Learn how to refactor a set of conditional Active Record queries using a Dynamic Delegator....

Episode 211: Validations in Rails 3


4 months ago by Ryan Bates on Railscasts.
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...