mbulat/plutus — pull request #21 by fredx (2013-12-08 11:41:13+00:00)
Title: Eager load amounts to reduce queries in some circumstances.

I found that when displaying an index page of accounts, queries are not optimized, resulting in a large number of database hits. This change addresses that issue. I ran tests using ruby 2.0 and all tests continue to pass. Please let me know if you would like to see adjustments to this PR.