theozaurus/mercury — comment on commit 187943a7ba9f3064fe15e724dc554a67b51dec5e
File:  line 0
By theozaurus:

This is to make the object send in the format of:

{foo: {body: {value: 'blah', snippets ... }}}

Rather than:

{content: {body: {value: 'blah', snippets ... }}}

I think this works better because existing controllers can understand this format within Rails, without any alteration. For example:

foo.update_attributes(params[:foo])

I believe this pattern is also repeated in other frameworks.