Hello,
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
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---