Using Rails and SQL Views for a Report

All about how to use SQL views with read-only ActiveRecord models in Ruby on Rails. They're very fast!