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?
The following works, but I’d be interested if there’s anything more concise.