-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Hello, I am trying to figure out how to do a polymorphic associate when creating an item.
For example:
strong_resource :reservation do
attribute :start, :datetime
attribute :finish, :datetime
belongs_to :reservable
end
polymorphic_belongs_to :reservable,
group_by: :reservable_type,
groups: {
# Polymorphic types here
}
I get the following error: StrongResources::UnregisteredResource
Metadata
Metadata
Assignees
Labels
No labels