Browse files

[docs] Added missing "}" fixes #4126

  • Loading branch information...
1 parent d538952 commit 939183ab17924882d4bcf649b10852fc6b4ae744 @arunagw arunagw committed with vijaydev Dec 22, 2011
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
@@ -939,7 +939,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 939183a

Please sign in to comment.