Displaying 1 result from an estimated 1 matches for "find_all_by_list_subscrib".
Did you mean:
find_all_by_list_subscriber
2006 Jun 07
0
Refreshing remote :through associations with deletes
...on = Person.find_by_email(subscriber.user)
unless person.nil?
Subscription.find_or_create_by_person_id_and_mailinglist_id(person.id,
local_list.id)
end
end
remote_lists.each do |list|
local_list = Mailinglist.find_or_create_by_name(list.list)
subscribers =
MailinglistSubscriptionRemote.find_all_by_list_subscriber(local_list.name)
if subscribers.size > 0
subscribers.each do |subscriber|
person = Person.find_by_email(subscriber.user)
unless person.nil?
Subscription.find_or_create_by_person_id_and_mailinglist_id(person.id,
local_list.id)
end
end
end
end
What I need t...