im not doing a hash operation to it. Apparently you can replace part of a string like that. and it worked
http://www.techotopia.com/index.php/Ruby_String_Replacement,_Substitution_and_Insertion#Changing_a_Section_of_a_String