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,612 of 197,744
Downloads: 47,768
Daily
Ranking: 41,879 of 197,724
Downloads: 3
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 | 855,219,427 | activerecord |
| 44 | 804,971,962 | rails |
| 110 | 481,357,989 | pg |
| 124 | 415,734,944 | rspec-rails |
| 248 | 220,866,716 | database_cleaner |
| 975 | 54,241,287 | factory_girl_rails |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | dimson |