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,829 of 187,239
Downloads: 45,765
Daily
Ranking: 58,247 of 187,224
Downloads: 6
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 | 711,658,717 | activerecord |
43 | 671,311,427 | rails |
107 | 398,480,488 | pg |
117 | 351,039,053 | rspec-rails |
223 | 197,187,257 | database_cleaner |
892 | 52,336,266 | factory_girl_rails |
Owners
# | Gravatar | Handle |
---|---|---|
1 | dimson |