Permalink
Browse files

[docs] added missing "}" fixes #4126

  • Loading branch information...
arunagw committed Dec 22, 2011
1 parent 1945baf commit 8dc892618ef8b7554cd40f22ee4eea5b82b4cc69
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 8dc8926

Please sign in to comment.