Caches Relational data from ActiveRecord in flat Mongoid documents.