I implement a tag function, and an article can contain from one to many tags. I can get tag values ββfrom db in this format
["social network", "professional"]
I need output in this format
"social network professional"
I want to convert an array to a string without,. Below is a code snippet that extracts values ββfrom db as an array.
<%= article.tags.collect(&:name) %>
How can I convert this output to a string value without any comma?
source share