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,765 of 192,692
Downloads: 47,048
Daily
Ranking: 123,556 of 192,666
Downloads: 5
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 | 786,213,027 | activerecord |
| 44 | 740,994,370 | rails |
| 108 | 439,957,726 | pg |
| 122 | 383,409,389 | rspec-rails |
| 236 | 209,262,140 | database_cleaner |
| 930 | 53,574,665 | factory_girl_rails |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | dimson |