Is there a more correct way to output the contents of an array as a comma delimited string
@emails = ["joe@example.com", "Peter@example.com", "alice@example.com"] @emails * "," => "joe@example.com", "Peter@example.com", "alice@example.com"
This works, but I'm sure there should be a more elegant solution.
arrays ruby ruby-on-rails-3
chell Aug 22 '11 at 10:50 2011-08-22 10:50
source share