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: 30,714 of 198,430
Downloads: 47,861
Daily
Ranking: 89,752 of 198,401
Downloads: 1
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 |
|---|---|---|
| 37 | 866,211,346 | activerecord |
| 45 | 815,094,740 | rails |
| 110 | 487,972,523 | pg |
| 125 | 420,700,737 | rspec-rails |
| 251 | 222,543,118 | database_cleaner |
| 979 | 54,366,047 | factory_girl_rails |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | dimson |