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