I am using Ruby on Rails 3 and I am trying join an array with the & character. I read the Ruby documentation about that.
join
&
My array is:
Join is meant to not prepend a string. Here's another option:
"{["name1","name2"].join("&")}"