search for: territory_id

Displaying 1 result from an estimated 1 matches for "territory_id".

Did you mean: territory__
2006 Jun 09
0
has_many / : through / check_box - update problems
...in the localdetails table While in a Movies controller, I want to loop through each Territory and display a line which allows editing of the localdetails for that Movie for each Territory, something like... for territory in @territories localdetail=LocalDetail.find(:all, :conditions[''territory_id=? AND movie_id=?'',territory.id,@movie.id]) check_box(''movie[localdetail_id][]'',''will_be_shown_here'') end But I can''t find any form of syntax for the checkbox that will allow this to work. I think I''ve tried everything, but of...