The single query was producing a tremendously large ActiveRecord allocation. While this isn't nearly as cool as one query, it's still a significant reduction in SQL trips, and now has the bonus of only loading what is actually going to be displayed. |
||
|---|---|---|
| .. | ||
| admin | ||
| api | ||
| users | ||
| application_controller.rb | ||
| booths_controller.rb | ||
| commercials_controller.rb | ||
| conference_registrations_controller.rb | ||
| conferences_controller.rb | ||
| confirmations_controller.rb | ||
| openids_controller.rb | ||
| organizations_controller.rb | ||
| payments_controller.rb | ||
| physical_tickets_controller.rb | ||
| proposals_controller.rb | ||
| registrations_controller.rb | ||
| schedules_controller.rb | ||
| subscriptions_controller.rb | ||
| ticket_purchases_controller.rb | ||
| tickets_controller.rb | ||
| tracks_controller.rb | ||
| users_controller.rb | ||