rails/rails — pull request #11329 by vipulnsward (2013-07-06 14:22:55+00:00)
Title: Extract common query to a constant.

Extract common query to a constant.

Perf ref: https://gist.github.com/vipulnsward/8209749201dfdd678c97