Posted By

winson on 04/30/07


Tagged

textmate model book


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

webstic
octoberborn


My latest books


 / Published in: Rails
 

  1. def self.latest
  2. find :all, :limit => 5, :order => 'books.id desc', :include => [:authors, :publisher]
  3. end

Report this snippet  

You need to login to post a comment.