I’m working on an API in Rails and have hit a wall. I’m missing something stupid I imagine, but I can’t see it.
https://gist.github.com/3989396
I can not get associations passed in the item.json to create an association. I thought that Rails would hook these up.
The relations for the accounts need to be fixed like so:
item.rb:
account.rb: