I am using Ruby on Rails 3.0.9 and I would like to know if I use this in my controller
flash[:notice] = "The <b>#{@user.name}</b> was successfully created.".html_safe
and then output that flash message in a view file is sure.
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.
Yup that is what you do.
app/views/index.html.erbOr whatever the name of your flash is.