Permalink
Browse files

[docs] Added missing "}" fixes #4126

  • Loading branch information...
1 parent c1b2642 commit 08f36451fc207c221169560238b539ae55c2d9e8 @arunagw arunagw 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 08f3645

Please sign in to comment.