Hi all,
Hopefully this is easy for you guys. I’m trying to output a list of
usernames and everything has been working well. However, when I added a
user with a period in their username it generates this error. If I
rename the user to “Tom_Dixon” it works fine, but “Tom.Dixon” fails.
Any clue how to get this to work?
Error:
user_url failed to generate from {:controller=>“users”, :action=>“show”,
:id=>#<User id: 96, username: “Tom.Dixon” …
The code is your standard rails link_to:
Any help is appreciated!
-Tony