```ruby
module MagicBeans
	class Id < ActiveRecord::Base

		set_primary_key :id

		belongs_to :resource, polymorphic: true

	end
end```

Set primary key on MagicBeans::Id model
user
```ruby
module MagicBeans
	class Id < ActiveRecord::Base

		self.primary_key = "id"

		belongs_to :resource, polymorphic: true

	end
end```
assistant