I have this in my html page
<%= link_to "bla", "www.google.com" %>
and when I hit localhost:3000 I get this
<%= link_to "bla", "www.google.com" %>
PS: I’m new to rails. any help is appreciated.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Make sure that your view file name has the html.erb extension.
For example, for a User model, the model is in
app/models/user.rb, the controller is inapp/controllers/users_controller.rb, and the show view is inapp/views/users/show.html.erb.I hope this helps.