Retrive record without id field

Hi,
How to retrive the record without using the id field.
I have to use the table having singular and in that table there is no id
field then how to fetch that table in my application.

On 3 Apr 2009, at 15:09, Sushrut S. wrote:

Hi,
How to retrive the record without using the id field.
I have to use the table having singular and in that table there is
no id
field then how to fetch that table in my application.

You could use find :first or find :all, just specify whatever
conditions are relevant.

Fred