Categories: None [Edit]
calculable_attrs
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.
Total
Ranking: 29,389 of 190,365
Downloads: 46,606
Daily
Ranking: 113,104 of 190,317
Downloads: 0
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 36 | 762,217,870 | activerecord |
| 44 | 718,397,445 | rails |
| 107 | 426,379,864 | pg |
| 121 | 372,188,733 | rspec-rails |
| 230 | 204,942,796 | database_cleaner |
| 920 | 53,211,467 | factory_girl_rails |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | dimson |