How I can store ruby string with variables in DB? For example I have model Stack and attribute welcome_message. I want store in welcome_message next string - "Hi, #{user}. How do you do?" Then I make:
user = "artem"
p stack.welcome_message
and got-
"Hi, \#{user}. How do you do?"
I can't fixate it in view, because I want change position varibles in field.