I have two arrays with different attributes for the objects contained in each.
participants
guests
The only field in common is provider_user_id
I want to do something like this
all_people = participants.map {|p| p.provider_user_id <> guests.provider_user_id }
This is probably not correct.
How can eliminate those participants who are also in the guests array?
all_peopleequate to guests who are not participants? Or are you wanting the combination of guests and participants but you want to avoid including the same person twice?