SyntaxFix
Write A Post
Hire A Developer
Questions
You can use some functional programming approach, transforming data:
['12','34','35','231'].map{|i| "'#{i}'"}.join(",")