Skip to content

Conversation

amatsuda
Copy link
Member

@amatsuda amatsuda commented Jan 3, 2013

Car.all here needs a to_a to execute SQL because Car.all alone just returns a Relation.

Actually, the test passes without base.silence_auto_explain do block if not to_a'ed.

rafaelfranca added a commit that referenced this pull request Jan 3, 2013
@rafaelfranca rafaelfranca merged commit a896609 into rails:master Jan 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants