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: - of 0
Downloads: -
Daily
Ranking: - of 0
Downloads: -
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 | 805,958,282 | activerecord |
| 44 | 759,429,268 | rails |
| 109 | 452,175,142 | pg |
| 122 | 393,372,550 | rspec-rails |
| 241 | 212,885,742 | database_cleaner |
| 937 | 53,757,009 | factory_girl_rails |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | dimson |