Dave Castellano wrote in post #1156219: > Christopher R. Maden wrote in post #1156206: >> On 08/28/2014 08:14 AM, Dave Castellano wrote: >>> Can anyone point me in the right direction as to why "questions" is >>> being prepended to the route and how to avoid that from happening. >> >> This is a basic HTML problem, not a Rails one. >> >> Your link is a relative link to the file “www.somewhere.com” in the >> current directory, *not* a link to the site www.somewhere.com. You need >> an explicit method, e.g.: >> >> <a href='http://www.somewhere.com/'> >> >> ~Chris
A quick follow up question? I would like to open the link in a new window but the following opens the link on the current tab: question = "<a href='http://www.cnn.com' target= '_blank'>index of refraction</a> What is the vergence of the light rays in the image at reference plane (y), #{distance_in_cm.round(2)} cm from the light source?" It seems to be ignoring the target= '_blank' Thanks again, Dave -- 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/9f70371fc4d5ba77a6ce43191d76df9b%40ruby-forum.com. For more options, visit https://groups.google.com/d/optout.

