RubyGems Navigation menu

calculable_attrs 0.0.15

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

Gemfile:
= クリップボードにコピー コピー完了!

インストール:
=

バージョン履歴:

  1. 0.0.15 - September 14, 2014 (9.5KB)
  2. 0.0.14 - September 10, 2014 (9.5KB)
  3. 0.0.13 - September 05, 2014 (9.5KB)
  4. 0.0.12 - September 05, 2014 (9.5KB)
  5. 0.0.11 - September 04, 2014 (9.5KB)
全てのバージョンを表示(全15件)

Runtime依存関係 (1):

activerecord >= 3.2

Development依存関係 (5):

pg >= 0
rails >= 3.2
rspec-rails ~> 3.0

所有者:

作者:

  • Dmitry Sharkov

SHA 256チェックサム:

62392d20f132dc2cb80b5a9b0563ee6e7fa18cd78c5012ab364aff340918f778

累計ダウンロード数 42,910

このバージョンのみ 3,776

ライセンス:

MIT

必要なRubyのバージョン: >= 0

リンク: