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,869 of 183,501
Downloads: 44,179
Daily
Ranking: 16,651 of 183,494
Downloads: 15
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 | 605,505,056 | activerecord |
41 | 573,778,216 | rails |
103 | 342,218,573 | pg |
116 | 299,612,809 | rspec-rails |
201 | 181,970,907 | database_cleaner |
808 | 51,057,356 | factory_girl_rails |
Owners
# | Gravatar | Handle |
---|---|---|
1 | dimson |