mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Examples :
posts = Post.select('id).order('name') # Returns a lazy relation
posts.each {|p| puts p.id } # Fires "select id from posts order by name"