Skip to content

Commit

Permalink
[docs] added missing "}" fixes #4126
Browse files Browse the repository at this point in the history
  • Loading branch information
arunagw committed Dec 22, 2011
1 parent 1945baf commit 8dc8926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/guides/source/active_record_querying.textile
Expand Up @@ -966,7 +966,7 @@ When a +lambda+ is used for a +scope+, it can take arguments:


<ruby> <ruby>
class Post < ActiveRecord::Base 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 end
</ruby> </ruby>


Expand Down

0 comments on commit 8dc8926

Please sign in to comment.