Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch '3-2-stable' of github.com:rails/rails into 3-2-stable

* '3-2-stable' of github.com:rails/rails:
  [docs] added missing "}" fixes #4126
  • Loading branch information...
commit 89e2647da6fade8397963fc0c0159eee4f3fd842 2 parents c0563ce + 278a72e
@tenderlove tenderlove authored
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
@@ -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>
Please sign in to comment.
Something went wrong with that request. Please try again.