• websebdev Profile Picture

    Sebastien Auriault @websebdev

    4 years ago

    💎Rails tip💎 Did you know you can define `to_param` method on your model to change how the show URL will be? Here's an example taken from @afomera's great Hotwire course to have nice show URLs without using any gem. #ruby #rails #rubyonrails

    websebdev tweet picture

    3 20 128 0 17
    Download Image
  • mikew1o1 Profile Picture

    Mike Wilson @mikew1o1

    4 years ago

    @websebdev @afomera Great tip! I think it might be worth explaining why: because when you convert “1-my-clean-url” to an int, everything after the first dash gets stripped, and it converts to just “1”, which allows the lookup to succeed.

    0 0 5 0 0
  • _akabiru Profile Picture

    Kabiru 💀 @_akabiru

    4 years ago

    @websebdev @afomera Thanks for sharing! Any chance you can point me to the Hotwire course? 🙂

    1 0 0 0 0
  • Download Image
    • Privacy
    • Term and Conditions
    • About
    • Contact Us
    • TwStalker is not affiliated with X™. All Rights Reserved. 2024 www.instalker.org

    twitter web viewer x profile viewer bayigram.com instagram takipçi satın al instagram takipçi hilesi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al sosyalgram takipçi satın al instagram ücretsiz takipçi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al metin2 metin2 wiki metin2 ep metin2 dragon coins metin2 forum metin2 board popigram instagram takipçi satın al takipçi hilesi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al buyfans buy instagram followers buy instagram likes buy instagram views buy tiktok followers buy tiktok likes buy tiktok views buy twitter followers buy telegram members Buy Youtube Subscribers Buy Youtube Views Buy Youtube Likes forstalk postegro web postegro x profile viewer