# Find current record

**URL:** <https://www.ruby-forum.com/t/find-current-record/125582>\
**Category:** Rails\
**Created:** [January 10, 2008, 11:12am UTC](https://www.ruby-forum.com/t/find-current-record/125582 "2008-01-10T11:12:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fries88](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/6bbea6/32.png) [@fries88](https://www.ruby-forum.com/u/fries88)\
**Post date:** [January 10, 2008, 11:12am UTC](https://www.ruby-forum.com/t/find-current-record/125582/1 "2008-01-10T11:12:44Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![fries88](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/6bbea6/32.png) [@fries88](https://www.ruby-forum.com/u/fries88)\
**Post date:** [January 10, 2008, 11:23am UTC](https://www.ruby-forum.com/t/find-current-record/125582/2 "2008-01-10T11:23:17Z")

</div>

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
