I was having a heck of a time with .to_json in Merb. Turns out, it was because Merb’s to_json implementation doesn’t work the same as ActiveRecords.
In order to get it working, I had to disable the Merb one by placing the following code at the top of my init.rb file:
Merb.disable :json
Just thought I’d share. :)
Posted 2 years ago
©2007–2011. Postage by Greg Cooper. Icons by PixelResort. Thanks to Jamie Cassidy & Panic.
*Unlikely to find your lost post using this but you can try...