My latest books


/ Published in: Rails
Save to your folder(s)



Copy this code and paste it in your HTML
  1. def self.latest
  2. find :all, :limit => 5, :order => 'books.id desc', :include => [:authors, :publisher]
  3. end

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.