↧
Answer by Tony Fontenot for Rails show latest entry
Kase.first(:order => 'id DESC')Or if you have a created_at column:Kase.first(:order => 'created_at DESC')There are many different ways to get what you want, and most depend on how your model is...
View ArticleRails show latest entry
I have a working Rails application on version 2.3.5 - I am using many to many model relations and have got almost everything working.What I would like to do is on my new kase page show the most recent...
View Article