Displaying 1 result from an estimated 1 matches for "bob_doe".
2007 Jul 19
2
Transform URLs from: "url.com/Bob+Doe" to "url.com/bob_doe"
...@user = User.find(:first, :conditions => [''first_name = ?'',
params[:user_full_name]])
render :layout => "user_page"
end
Right now, the url is in this format: "url.com/Bob+Doe" -- and I''m
looking to get it in this format: "url.com/bob_doe"
I googled for some time, and still have no idea where to start. Any help
would be great appreciated. Thank you.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "R...