"please contact your <%=@user.name %> mentor"
I am using the above syntax and it is wrong.
Can anyone please tell me the correct syntax for interpolating @user.name into a string using " ".
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.
if you just want to call
.to_son@useryou can doand omit the
{}<%=...%>is for eRB files, use"#{}"to substitute in quotes