bigcommerce/mozart — pull request #15 by mastfish (2013-09-09 08:21:57+00:00)
Title: Request for comments

Sorry for the line-noise, my editor is set to strip trailing whitespace (Line 607)

This is a POC for having .index create findBy methods for anything it's indexing. The motivation being basically syntactic sugar for being able to nicely access custom id fields. Also, because metaprogramming is fun! Until it's really, really not.

Let me know if this is worth proceeding further on, and I can add some polish