Better Rails specific documentation on CRUD actions on embedded documents #504

Open
salmansqadeer opened this Issue Mar 15, 2013 · 1 comment

Projects

None yet

2 participants

@salmansqadeer

Working with Embedded Documents within forms (specifically for CRUD activities) isn't particularly well documented. Im sure there must be a best practice here (should Embedded Documents have a separate controller? Should the CRUD activities be built into the existing Parent document controller?) etc.

@jnunemaker
Contributor

I typically do top level things. I don't think of embedded docs as real citizens, but more as children of the parent and that all access to them should go through the parent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment