Show Query Results

This is a simple question, but I’m very new to Ruby and I can’t seem to
find anything good in my Ruby book… How can I ask my model to display
results of a particular table? For example, like find_all in the table
and display two columns per line. There is something like 300 entries,
so I assume there will be a loop. In case I can’t describe it very well,
I just need something like this:

jsmith 555-5555
bjenkins 555-5554
rbarnett 555-5556
etc… etc…

Whereas the name is in a particular column and the number is from
another column.

Thanks for your help!

  • Jeff

nevermind, I got it :slight_smile: