I am implementing tag functionality and an article may have one to many tags. I am able to get tag values from db in this format
["social network", "professional"]
I want output in this format
"social network professional"
I want to convert an array into a string without ,
. Below is a code snippet which takes out values from db as an array.
<%= article.tags.collect(&:name) %>
How can I convert this output into string value(s) with out any comma?