RubyGems Navigation menu

association_count 1.1.0

Get an ActiveRecord association count with ease and without worrying about N+1 queries. A small gem for ActiveRecord that allows association counts to be included in your base query.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 1.1.0 - September 07, 2018 (8.5 KB)
  2. 1.0.0 - February 13, 2018 (7.5 KB)
  3. 0.0.4 - April 24, 2015 (7.5 KB)
  4. 0.0.3 - April 21, 2015 (7.5 KB)
  5. 0.0.2 - April 21, 2015 (7.5 KB)
Show all versions (6 total)

Development Dependencies (8):

activerecord >= 4.0
bundler ~> 1.5
guard ~> 2.12
guard-rspec ~> 4.5
rake ~> 10.0
rspec ~> 3.2
simplecov ~> 0.7
sqlite3 ~> 1.3

Owners:

Authors:

  • Albin Svensson, Jacob Burenstam

SHA 256 checksum:

26602175224bf69ad4612b9df9377a156c96f4c33c27a39749b52218934ce7b1

Total downloads 22,499

For this version 8,693

License:

MIT

Required Ruby Version: >= 0

Links: