I'm using the check_box form helper and trying to do the following:
I have an array @collections I want to provide checkboxes for.
And I also have an @articles object that contains a "collections" method.
I want to have collections that an article belongs to selected.

I've been trying different variations of this to no avail:
from my controller
PHP Code:
   def new
     @
article Article.new
     @
collections Collection.find(:all)
   
end 
snipped from my form
PHP Code:
 <% for collection in @collections %>
   <
tr><td align="right"><%= check_box 'collection''id' %></td><td><%= collection.name %></td></tr>
 <% 
end %>