Ruby Midwest 2011

ActiveRecord Anti-Patterns for Fun and Profit
This presentation, by Ethan Gunderson , is licensed under a Creative Commons Attribution ShareAlike 3.0

If you’re writing code that looks like User.all.reject(), you’re doing it wrong. Don’t worry though, we’ve all done it before. ActiveRecord makes it all too easy to introduce code that is far from performant, and after awhile, we tend to forget that underneath the pretty API, we’re still producing SQL. In this talk, we’ll peel back the API so that we can see some of the common mistakes I see when dealing with ActiveRecord statements, and more importantly, how you can fix them.

Conference Videos

Version: 1.0 (557) by Coby Randquist on 2015-01-01