rails/rails — pull request #12047 by vipulnsward (2013-08-27 17:21:47+00:00)
Title: Make `table_name.*` to act like `:all` in performing `count`

Make `table_name.*` to act like `:all` in performing `count`
Fixes https://github.com/rails/rails/issues/11824