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
I find myself coercing collections fairly often. I haven't figured out an easy way to do this with Hashie, but maybe one exists and just isn't obvious.
Here is an example of something similar from roar:
I find myself coercing collections fairly often. I haven't figured out an easy way to do this with Hashie, but maybe one exists and just isn't obvious.
Here is an example of something similar from roar:
I usually end up doing something like this, since Hashie's coercion doesn't seem to have any built-in support for collections/arrays:
Is there a simpler way to do this that doesn't require the extra class and coerce method?
The text was updated successfully, but these errors were encountered: