#150 Rails Metal (revised)
Jan 27, 2012 | 6 minutes | Rack
Rails metal may have been removed in Rails 3, but it is possible to bypass the entire Rails stack through middleware as shown in this episode.
- Download:
- source codeProject Files in Zip (81.1 KB)
- mp4Full Size H.264 Video (13.9 MB)
- m4vSmaller H.264 Video (7.64 MB)
- webmFull Size VP8 Video (9.06 MB)
- ogvFull Size Theora Video (17.9 MB)
Foundation
ZURB's Foundation is a front-end for quickly building applications and prototypes. It is similar to Twitter Bootstrap but uses Sass instead of LESS. Here you will learn the basics of the grid system, navigation, tooltips and more.
(11 minutes)
Form Objects
Models have a tendency to become a complex mess as an application grows. In this episode you will learn a couple of techniques to extract form-behavior out into its own class.
(18 minutes)
Model Caching (revised)
Caching at a low level is a great option when the view is too dynamic to cache and you need something flexible that can work anywhere in the application. Here I show a variety of ways to use Rails.cache with Active Record.
(12 minutes)
Upgrading to Rails 4
With the release of Rails 4.0.0.rc1 it's time to try it out and report any bugs. Here I walk you through the steps to upgrade a Rails 3.2 application to Rails 4.
(12 minutes)
Batch API Requests
Here I demonstrate how to perform bulk API operations though a single request using Rack middleware. This is great if you need to trigger multiple actions at once such as if the user goes offline.
(18 minutes)