rails/rails — pull request #14372 by arthurnn (2014-03-13 17:09:47+00:00)
Title: Make select_all on query cache accept a Relation without binds.

`select_all` on `QueryCache` needs to know how to extract the binds from a `Relation`.

[fixes #14361]
[related #13886]

review @rafaelfranca