burlingtonruby/proposals — pull request #27 by rjackson (2014-03-09 14:46:27+00:00)
Title: Dry-up IndexController.

I could not test locally (having an issue with installing Ruby 2.1.1) so you might need to tweak, but this is a good pattern. Essentially it is just building a computed property (similar to `DS.attr`).