I have a few models in Rails that look something like this:
class Issue < ActiveRecord::Base belongs_to :reporter, class_name: \'User\' belongs_to :assign
I was having the same issue, adding include: false on the association did the trick for me.
include: false
embed :ids, include: true attributes :id, :title has_many :domains, key: :domains, include: false has_many :sessions, key: :sessions