hi all,

On my page i am displaying business url entered by user it stored in
database
(code is in haml)

  = link_to @user.website,@user.website

if url stored in database is  "www.abc.com"

then on click of that link it goes to http://sarasaves/at/www.abc.com
and shows

  Routing Error

  No route matches "/at/www.moblie.com" with {:method=>:get}


I want user to go to only "http://abc.com";
-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to