Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ruby JavaScript
branch: 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
Something went wrong with that request. Please try again.