I had some issues in defining hasMany associations in ember model. Then I found this http://emberjs.com/guides/models/the-rest-adapter/ which gave some idea on how the return json values should be. That link is not under the guides, I had to reach that page through search engine. If someone could update that part preferably under the Model tab, it would be really really great.
I have an Rails app, have issue with Ember data in knowing the correct way to do things.
Before (Based on the doc):
I am using Rails serializer, it returns json of the form.
After (Through some trial and error)
I know this is weird to use snake case here. What am i doing wrong? And this is not irregular key too.