RubyGems Navigation menu

calculable_attrs 0.0.2

Imagine you an Account model which has many transactions. calculable_attrs gem allows you to define Account#blalace and SUM(transactions.amount) directly in your Account model. And solves n+1 problem for you in an elegant way.

Gemfile:
=

install:
=

Versions:

  1. 0.0.15 September 14, 2014 (9.5 KB)
  2. 0.0.14 September 10, 2014 (9.5 KB)
  3. 0.0.13 September 05, 2014 (9.5 KB)
  4. 0.0.12 September 05, 2014 (9.5 KB)
  5. 0.0.11 September 04, 2014 (9.5 KB)
  6. 0.0.2 August 20, 2014 (8 KB)
Show all versions (15 total)

Runtime Dependencies (1):

rails ~> 4.1

Development Dependencies (4):

Owners:

Authors:

  • Dmitry Sharkov

SHA 256 checksum:

=

Total downloads 44,560

For this version 2,924

Version Released:

License:

MIT

Required Ruby Version: >= 0

Links: