Skip to content

Instantly share code, notes, and snippets.

@bkenny
Created January 4, 2011 13:09
Show Gist options
  • Save bkenny/764744 to your computer and use it in GitHub Desktop.
Save bkenny/764744 to your computer and use it in GitHub Desktop.
Ordering
@artworks = Artwork.find(:all, :include => :artist, order => "artists.last_name, title")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment