/ Published in: Rails
![](/img/icon_sav.png?v3)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
def self.latest find :all, :limit => 5, :order => 'books.id desc', :include => [:authors, :publisher] end
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)
def self.latest find :all, :limit => 5, :order => 'books.id desc', :include => [:authors, :publisher] end