Find current record

Hi,

Does anyone know how to find the current/latest record in the table and
display it out in view? Cos I need to then update that latest record
from there.

Thanks,
user splash

user splash wrote:

Hi,

Does anyone know how to find the current/latest record in the table and
display it out in view? Cos I need to then update that latest record
from there.

Thanks,
user splash

Model.find(:first, :order => “updated_at DESC”)
i think