jeudi 15 décembre 2016

RoR How to set the root to show the latest entry in a model

Have researched and seen alot of ways of retrieving the latest entry in a model using something like Post.order("created_at").last but have been unsuccessful in making that the root for the webpage to land on

Aucun commentaire:

Enregistrer un commentaire