Permalink
Browse files

Merge pull request #4128 from arunagw/doc_fixes_3_2-stable

Doc fixes 3 2 stable
  • Loading branch information...
2 parents 1945baf + 8dc8926 commit 278a72ecea5c5b78f8453f45b1c9963ce7d81cc1 @drogus drogus committed Dec 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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>

0 comments on commit 278a72e

Please sign in to comment.