Disclaimer, I know very little about Rails. I'll try to be succinct.
ModelA belongs_to ModelB ModelB has_many ModelA
The JSON Show action of the ModelA controller should show all ObjectA's that are belonging to the ObjectB of which the ObjectA in question is a member of.
So if I have an ObjectB that contains ObjectA's of ID 1, 2, and 3
When I access
/modela/1.json
I should see
{"modelb":{"id":"1", "modela":[insert a bunch of modela JSON for ID's 1, 2 and 3]}}
I hope this is enough info to go off of... Thanks!