You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Presenting a collection of objects works if the entity class is explicitly passed into present. But if the entity class is set via represents or auto-detected by looking for an Entity constant inside of the object being presented then it breaks.
Is this intended? It's not what I was expecting.
The text was updated successfully, but these errors were encountered:
This is not intended according to your description. A repro via a spec would be helpful (see endpoint_spec.rb around lines 475 for similar examples). Please also note a recent fix for #304, it could be related.
Presenting a collection of objects works if the entity class is explicitly passed into
present
. But if the entity class is set viarepresents
or auto-detected by looking for anEntity
constant inside of the object being presented then it breaks.Is this intended? It's not what I was expecting.
The text was updated successfully, but these errors were encountered: