rails/rails — pull request #7294 by stevecj (2012-08-08 21:53:17+00:00)
Title: Fix only-once stub logic.

Follow-up: fix the fix.

Didn't fail the test because adapter#query happens to
not call raw connection's #query, but don't want to count
on that and have a fragile test.