DEV Community

[Comment from a deleted post]
 
lipanski profile image
Florin Lipan

Hi Eduardo

I just updated the post with the solution for variants. Please have a look. It appears variants have their own URL helper rails_representation_url.

 
cryptoraptor profile image
Eduardo

Thank you, Florin! It works wonderful now. I still needed to add "only_path: true" to "route_for", i.e.:

route_for(route, blob, only_path: true)

Thanks for the great post and the generous assistance. 😊