module MagicBeans
	class Id < ActiveRecord::Base

		set_primary_key :id

		belongs_to :resource, polymorphic: true

	end
end
module MagicBeans
	class Id < ActiveRecord::Base

		self.primary_key = "id"

		belongs_to :resource, polymorphic: true

	end
end
Set primary key on MagicBeans::Id model
Set primary key on MagicBeans::Id model
