How to Compare Entries

Hi,
I am trying to compare entries that are in two different db tables... I
am not sure how to do this. I have two models set up for the two tables
- BES and Import. Each table contains a column that holds a telephone
number - I want to compare the two and display entries that match, then
show ones that don't match afterward. Does anybody have any suggestions
on how to do this? I'm very new to RoR... BTW, I'm running InstantRails
v1.6

Thanks,
- Jeff Miller

Hi,
   you can try one to one relationship..

Regards

Abirami