First, a trick. If you want to display a comma separated list from an array all you need to do is multiply that array by a comma. “What’s that”, you say? You heard right. If you have an array in the variable @my_array you can simply place the following in your view: <%= @my_array * ", " %> The comma and space in your string will be added to the end of every string in your array except for the last one. Beautiful! I...
Read More


Stalk Me