# Revision history [back]

Thanks for that - almost there! I changed my ERB to use this:

cassandrasvr=<%= cassandrasvr.join(":#{@cassandraport},") %>


and now get an output of this:

cassandrasvr=cass1.abc.com:9160,cass2.abc.com:9160,cass3.abc.com:9160,cass4.abc.com:9160,cass1.xyz.com:9160,cass2.xyz.com


Notice the last entry doesn't have the port. I guess I have sort of two conflicting things here - I want the port on the last entry, but not the comma. How would I accomplish this?