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,767 of 183,021
Downloads: 43,953
Daily
Ranking: 49,384 of 183,007
Downloads: 2
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 | 594,014,485 | activerecord |
40 | 563,448,791 | rails |
105 | 335,176,851 | pg |
116 | 293,539,901 | rspec-rails |
198 | 179,935,526 | database_cleaner |
796 | 50,901,975 | factory_girl_rails |
Owners
# | Gravatar | Handle |
---|---|---|
1 | dimson |