Open
Description
Version: 1.5
Without polymorphic association, I can do:
belongs_to(
:event,
id_method_name: :event_uuid,
)
It correctly uses event_uuid
as the method to get the id of the association.
With polymorphic though:
belongs_to(
:resource,
id_method_name: :resource_uuid,
polymorphic: true
)
id_method_name
has no effect, it always uses resource_id
as the id. I think this is a bug?
Metadata
Metadata
Assignees
Labels
No labels