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: 27,794 of 183,127
Downloads: 43,983
Daily
Ranking: 74,510 of 183,106
Downloads: 0
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 |
---|---|---|
35 | 596,341,077 | activerecord |
41 | 565,534,895 | rails |
103 | 336,660,441 | pg |
116 | 294,850,679 | rspec-rails |
200 | 180,385,697 | database_cleaner |
800 | 50,934,813 | factory_girl_rails |
Owners
# | Gravatar | Handle |
---|---|---|
1 | dimson |