codebrew/backbone-rails — Issue #79: Guidance on Nested Models - Loading Multiple Controller
Author: dgdosen
Created: 2011-12-14 22:13:23+00:00
State: open

Hi all;

I'm using backbone-rails in a nested model example (say I have a collection of Mailboxes, each that can have a collection of Messages)

I work with that app on a single page. I can load and create a series of nested views to display the data I want, but now I'm stuck when trying to work with two different objects and a router. I load a scaffold generated router and can perform CRUD operations on my Mailbox objects, but how can I perform CRUD on each of the Messages Collections? I'm not sure how to load another router that can handle those events.

Does anyone have an example?