rails/rails — pull request #6374 by kot-begemot (2012-05-18 09:29:06+00:00)
Title: Relocating find_by_sql into Relation #6331

Two methods, find_by_sql and count_by_sql are moved into Relation class. This should allow to easily manipulate the connection. Tests are passing.