March 2009
1 post
wrong argument type Hash (expected Data) - Merb...
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. :)
Mar 6th
2 notes