If you want to alter the var in place:
str="\"1,2,3,4\""
str.gsub!('"', '')
puts str
# 1,2,3,4
2
solved Remove double quotes from a string rails 4
If you want to alter the var in place:
str="\"1,2,3,4\""
str.gsub!('"', '')
puts str
# 1,2,3,4
2
solved Remove double quotes from a string rails 4