I have the following mailinglist and people model
class Mailinglist < ActiveRecord::Base
class Person < ActiveRecord::Base
Now, i have created a form to search people. In the result of the search
a checkbox beside each result. i tick the checkbox and write the
mailinglist name in the textbox provided on the results page.
THE PROBLEM IS IF THE LIST IS ALREADY CREATED AND IF I WANT TO ADD
ANOTHER PERSON TO THE LIST HOW CAN I DO THAT.
IF I USE UPDATE_ATTRIBUTES THE OLD PEOPLE ARE MOVED OUT OF THE LIST AND
ONLY THE NEW ONES are added. i want to add the new people to the list
without removing the old ones.
my three tables are
i HAVE A COMBO BOX SELECTION on the result page TO SELECT THE LIST IN
WHICH I NEED TO ADD PEOPLE.