Skip to content
No description or website provided.
Ruby JavaScript
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.