xaviershay / enki

A Ruby on Rails blogging app for the fashionable developer. It's better than Mephisto or SimpleLog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JSON specs (DESTROY) failing for comment and post

dreamr opened this issue · comments

I am looking into this: https://gist.github.com/719608

https://gist.github.com/719629

So calling .to_json was double wrapping the object instead of putting it into a :data hash, fixed now and all tests green

Fixed, but in a different way. Extra :data breaks JS that relies on that JSON: d4cc7d7