Displaying 1 result from an estimated 1 matches for "localdetail_id".
2006 Jun 09
0
has_many / : through / check_box - update problems
...d
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 course, you may know better...
Any ideas ?