Skip to content
This repository
tree: 7409fce755
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 12 lines (9 sloc) 0.24 kb
1 2 3 4 5 6 7 8 9 10 11
Railscasts Episode #202: Active Record Queries in Rails 3

http://railscasts.com/episodes/202

rails console
  Article.all
  articles = Article.order("name")
  articles.all
  articles.first
  Article.recent.all
  puts Article.recent.to_sql
Something went wrong with that request. Please try again.