Find file History
Pull request Compare This branch is 35 commits behind ryanb:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
..
Failed to load latest commit information.
blog
README
query_examples.rb

README

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