-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
If you have a mongoid document that references an activerecord document, it fails when it tries to set the metadata in lib/mongoid/relations/proxy.rb:115:in `characterize_one'.
This can be replicated with code along the lines of:
class Item
include Mongoid::Document
referenced_in :store
end
class Store < ActiveRecord::Base
end