Summary: Every other week you will be treated to a new, free 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. A Pro option is also available containing more screencasts each week. This version is for mobile devices which cannot support the full resolution version.
Here we continue upgrading an application to Rails 3 by getting our specs up and running and going through the rails_upgrade plugin.
In the first part of this series on upgrading a Rails 2 application to Rails 3, we'll start off by setting up Rails 3.0 Release Candidate in a clean environment. The rails_upgrade plugin will then help us determine what needs upgrading.
Embedded flash notices, permanent cookies, and the details of respond_with are in this episode.
There are a number of libraries to help create graphs. Here I show how to integrate Highcharts into a Rails app.
The router in Rails 3 is fully compatible with Rack. Learn how to embed Sinatra into an app, handle redirects, and improve on Rails Metal.
It is now possible to add subdomains to Rails 3 without the use of additional plugins. Learn how in this episode.
Generating PDFs in plain Ruby can be a lot of work. Instead, consider generating PDFs from HTML using PDFKit.
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 to tableless models.
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 to make generators in Rails 3.
See how to create a multi-step (wizard) form from scratch in this episode.
Generators in Rails 3 have been completely rewritten to be more modular. This allows you to customize any generator to fit your specific preferences.
Learn some advanced techniques regarding named scopes and get an introduction to Arel in this episode.
A/B Testing (or Split Testing) is a way to experiment with variations in an application to see the most effective option.
If dates play an important role in your application, consider adding a date picker or calendar view as shown in this episode.
Learn how to refactor a set of conditional Active Record queries using a Dynamic Delegator.