Bullet does look cool, but as far as I know it doesn't provide assertions like 
I'm after.

The post I read was specifically about writing RSpec (or Test::Unit?) 
assertions based on number of queries.

The QuerySpy I ended up with works well for me.

— Paul


On 03/09/2012, at 12:48 PM, Craig Read <[email protected]> wrote:

> I don't remember seeing a post on this, but do remember watching the 
> Railscast on Bullet recently.
> http://railscasts.com/episodes/372-bullet
> 
> On Mon, Sep 3, 2012 at 12:34 PM, Paul Annesley <[email protected]> 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?
> 
> — Paul
> 

-- 
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.

Reply via email to