this would depend, on what exactly you want to display.

Outcome.find(:all, ...)

will retrieve a set of records and <Outcome:0x371ace8> is
the internal id of that.

do you want the size? then use
Outcome.find(:all, ...).size

or should it return only one record and you want the id column?
Outcome.find(:first, ...).id

would do that (or replace "id" with any column name you want
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to