I want to customize a message where from the back end the user can modify a Welcome Message. Something like:
Welcome to #{userInfo["name"]}, out latest member
Where userInfo["name"] is a GET Variable.
I store this message on a model column called welcomeMsj.
Then I am trying to display the message using the model. Something like:
messages = Model.first
puts messages.welcomeMessage
I have an output like:
Welcome to #{userInfo["name"]}, out latest member
But I want to display:
Welcome to Emmanuel, out latest member
What's the correct syntax for this?
Thanks in advance.
erbin your view?