8 ms·
Semi-related: How do I write Ruby and poop out Javascript?
by ThinkWriteMute 17y ago
Semi-related: How do I write Ruby and poop out Javascript?
- zach 17y agoThe trite answer is to_json. The more substantial answer is to use a Javascript generator like RJS.