Conditions on Rails 3 is very simple

Post.where(:title => “test”)
Post.where(:title => “test”).order(“created_at DESC”)
Post.order(“created_at”).limit(10)
Post.where(“created_at <= ?”, Time.now).includes(:comments)
Post.where(:author => “Joe”).include(:comments).order(:title).limit(10)