Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

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

and now get an output of this:,,,,,

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?