I’m making my own blog with ruby on rails. But when I create a field for the content in the form, I can only show plain text. How can I show an html text from my field content.
Thanks
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.
html_safe tells rails that your string is ok to display without escaping it first.