Hey guys, How do we create Permalinks for users in a Rails application ??? By Permalink a mean the name of the user in the URL like so: example.com/username... Or like twitter and everyone does it ex: twitter.com/username...
I checked everywhere for that and didnt find a relevant answer... I think it has something to do with overriding the to_param method in the User model... but according to this screencast from Ryan Bates, http://railscasts.com/episodes/63-model-name-in-url, it's very risky to remove the id from the url... Is there a way to do it ??? I suppose there is... Thx for your help... Louis-Pierre -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

