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 M.

Hi,
you can try one to one relationship…

Regards

Abirami

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs