Last Updated: February 25, 2016
·
240
· yassoraa88

treating ruby object as javascript object

x = "<%=@view.join(',,')%>".split(',,')
where view is a ruby list
and x now is javascript list