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:
=
インストール:
=
Development依存関係 (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