How to Compare Entries

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


  • Jeff M.

you can try one to one relationship…



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