Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[docs] added missing "}" fixes #4126

  • Loading branch information...
commit 8dc892618ef8b7554cd40f22ee4eea5b82b4cc69 1 parent 1945baf
@arunagw arunagw 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.