Whipped up a small plugin for your use case:
http://github.com/Erol/nested_checklist
In your Venue model:
has_many :assignments
has_many :sheets, :through => :assignments
accepts_nested_checklist_and_attributes_for :sheets
In your VenuesController:
def new
@venue = Venue.new
@venue.build_
Hi guys! I'm having this trouble over relationships between models,
like this:
Venue (read a student's tests) ---> Assignment ---> Sheet (read
musical sheets)
Here's a video of what I need to accomplish: http://screenr.com/RQl
It's pretty straightforward, I believe: when creating venues, I
2 matches
Mail list logo