Hi,

The hyperlink below is being evaluated to "questions/www.somewhere.com":

q = eval(question) # Converts (evaluates) the question string from the
database back into code.

question ="
... from a light source is equal to the <a
href='www.somewhere.com'>index of refraction</a> (n) divided by the
distance (in meters) of the light rays..."


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.

Thanks,
Dave Castellano, MD

-- 
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/5ead8594c91e0b69cb84a6f7df3e2c0c%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to