Skip to main content
Ask A Question
You’re not receiving notifications from this thread.

How do i generate links like shopify does **** ?

Rails • Asked by Youssef ELMZELJI
Hey, guys i wanna know how to generate a unique url foreach user but didn't know how to do it.

Could you give some examples of Shopify links? Would be easier to give suggestions based on that.

Hi Youssef,

You can use route constraints to manage this.

Check out this gist:

Good read:

Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 30,005+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.