From Ruby array to JS array in Rails- 'quote'? From Ruby array to JS array in Rails- 'quote'? <%= raw @location_list.as_json %>