Skip to content

Instantly share code, notes, and snippets.

@Epigene
Last active July 29, 2017 19:24
Show Gist options
  • Save Epigene/3a7c120c5011a2e16fcf712ebc0f50e8 to your computer and use it in GitHub Desktop.
Save Epigene/3a7c120c5011a2e16fcf712ebc0f50e8 to your computer and use it in GitHub Desktop.
Latest posts first
Post.where(...).order(created_at: :desc)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment