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
Keeping this open as a reminder, because we could potentially support this use case as well, by extending attribute to add a :method attribute instead of a :serializer attribute if a name is passed, and the method is not defined in the serializer.
Do you think this should be part of compat? The error is a bit surprising
(not specific, maybe) since the method exists and can be used correctly if
there's a block provided
I've noticed that if you have the following:
You get an error:
This works fine if you have a block or you use attributes:
The text was updated successfully, but these errors were encountered: