Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #4128 from arunagw/doc_fixes_3_2-stable

Doc fixes 3 2 stable
  • Loading branch information...
commit 278a72ecea5c5b78f8453f45b1c9963ce7d81cc1 2 parents 1945baf + 8dc8926
@drogus drogus authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/guides/source/active_record_querying.textile
View
2  railties/guides/source/active_record_querying.textile
@@ -966,7 +966,7 @@ When a +lambda+ is used for a +scope+, it can take arguments:
<ruby>
class Post < ActiveRecord::Base
- scope :1_week_before, lambda { |time| where("created_at < ?", time)
+ scope :1_week_before, lambda { |time| where("created_at < ?", time) }
end
</ruby>
Please sign in to comment.
Something went wrong with that request. Please try again.