Shopify/identity_cache — pull request #119 by glebm (2014-02-16 01:02:01+00:00)
Title: belongs_to embed: true

This adds support for `embed: true` option. Works in Rails 4. Needs a test. I don't like `class_eval`, it is not necessary, but I figured it is there for speed.