RubyGems Navigation menu

calculable_attrs 0.0.12

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.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)
顯示所有版本(共 15)

Runtime 相依性套件 (1):

activerecord >= 3.2

Development 相依性套件 (5):

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

擁有者:

作者:

  • Dmitry Sharkov

SHA 256 總和檢查碼:

=

總下載次數 44,560

這個版本 2,891

版本发布:

授權:

MIT

Ruby 版本需求: >= 0

相關連結: