Categories
- Active Record
- Active Resource
- Active Support
- Administration
- Ajax
- APIs
- Authentication
- Authorization
- Background Jobs
- Caching
- Code Walkthrough
- Controllers
- Debugging
- Deployment
- eCommerce
- Forms
- Mailing
- Models
- Performance
- Plugins
- Production
- Rack
- Rails 2.0
- Rails 2.1
- Rails 2.2
- Rails 2.3
- Rails 3.0
- Rails 3.1
- Rails 3.2
- Rails 4.0
- Refactoring
- Routing
- Search
- Security
- Testing
- Tools
- Views
Upgrading to Rails 3 Part 1
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.
(11 minutes)
Controllers in Rails 3
Embedded flash notices, permanent cookies, and the details of respond_with are in this episode.
(10 minutes)
Charts
There are a number of libraries to help create graphs. Here I show how to integrate Highcharts into a Rails app.
(16 minutes)
Rack in Rails 3
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.
(8 minutes)
Subdomains in Rails 3
It is now possible to add subdomains to Rails 3 without the use of additional plugins. Learn how in this episode.
(13 minutes)
PDFKit
Generating PDFs in plain Ruby can be a lot of work. Instead, consider generating PDFs from HTML using PDFKit.
(8 minutes)
Active Model
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.
(6 minutes)
Making Generators in Rails 3
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.
(10 minutes)
Multistep Forms
See how to create a multi-step (wizard) form from scratch in this episode.
(15 minutes)
Generators in Rails 3
Generators in Rails 3 have been completely rewritten to be more modular. This allows you to customize any generator to fit your specific preferences.
(11 minutes)