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,864 of 199,406
Downloads: 48,139
Daily
Ranking: 26,087 of 199,354
Downloads: 45
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 | 879,664,282 | activerecord |
| 46 | 827,395,882 | rails |
| 109 | 496,349,990 | pg |
| 124 | 427,207,860 | rspec-rails |
| 255 | 224,802,406 | database_cleaner |
| 991 | 54,473,858 | factory_girl_rails |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | dimson |