On Mon, Sep 03, 2012 at 12:34:05PM +1000, Paul Annesley wrote: > I recently read a post about writing tests to catch n+1 query regressions, > but I have no idea where it was. > > I'm not sure it's a good idea (or possible to do in a non-fragile way), but > it would be useful at this phase of an app I'm working on. > > Does anybody remember the post, or have any thoughts on the matter?
There's a gem for that: https://github.com/flyerhzm/bullet Never used it though so cannot testify to it's effectiveness. Malc -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.
