RubyGems.org

Get a rough idea of a model count from pg_class instead of potentially expensive count()

installgem install postgres_loose_table_counts
Authors

John Barton

1,059 total downloads 1,059 for this version
Owners

Fddf4352c67c74b5fcadfdbefed7e7f1

Gemfile
gem 'postgres_loose_table_counts', '~> 0.0.1'
Versions
  1. 0.0.1 September 11, 2012 (5.5 KB)
Runtime Dependencies
  1. activerecord >= 3.0
  2. pg >= 0
Development Dependencies
  1. bundler >= 0