hello I'm new to RoR and i have concern regarding on how to output a
string with a value that parse on it.
Example in php:
$value = 1;
$string = 'the value is '.$value.'.';
and it gives you the output which is: "the value is 1." so how we are
going to do it in RoR. Any help would be appreciated. I know its very
simple to the one who knows it. Forgive me im only a newbie. Thank you!
hello I'm new to RoR and i have concern regarding on how to output a
string with a value that parse on it.
Example in php:
$value = 1;
$string = 'the value is '.$value.'.';
and it gives you the output which is: "the value is 1." so how we are
going to do it in RoR. Any help would be appreciated. I know its very
simple to the one who knows it. Forgive me im only a newbie. Thank you!
myvalue = 1
mystring = 'the value is ' + myvalue.to_s + '.'