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: 28,738 of 186,883
Downloads: 45,089
Daily
Ranking: 53,214 of 186,872
Downloads: 11
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 | 699,074,330 | activerecord |
43 | 659,572,847 | rails |
107 | 391,616,393 | pg |
117 | 345,572,021 | rspec-rails |
219 | 195,341,534 | database_cleaner |
885 | 52,116,778 | factory_girl_rails |
Owners
# | Gravatar | Handle |
---|---|---|
1 | dimson |