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,622 of 192,034
Downloads: 46,818
Daily
Ranking: 21,365 of 191,980
Downloads: 24
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 | 777,200,062 | activerecord |
| 44 | 732,449,165 | rails |
| 108 | 434,680,946 | pg |
| 121 | 379,139,832 | rspec-rails |
| 232 | 207,599,721 | database_cleaner |
| 923 | 53,477,264 | factory_girl_rails |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | dimson |