I was wondering if theres a way to find the newest record in a table in rails3?
Thanks
Elliot
Yes, you can use the method .last
So if your model is called Post then:
>> Post.last => #