calculable_attrs 0.0.2
Imagine you an Account model which has many transactions. calculable_attrs gem allows you to define Account#blalace and SUM(transactions.amount) directly in your Account model. And solves n+1 problem for you in an elegant way.
Gemfile:
=
install:
=
Runtime Dependencies (1):
rails
~> 4.1