Below are my two model classes
class Patient < ActiveRecord::Base belongs_to :user, :dependent => :destroy has_many :enrollments, :dependent =>
I ended up doing the following:
<%= check_box_tag "patient[client_ids][]", client.id, @patient.clients.include?(client) %>
I am not sure if this is the best way...any comments (I had to update my model to include attr_accessible :client_ids