aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source
diff options
context:
space:
mode:
authorArun Agrawal <arunagw@gmail.com>2011-12-22 12:36:15 +0530
committerArun Agrawal <arunagw@gmail.com>2011-12-22 12:36:15 +0530
commit8dc892618ef8b7554cd40f22ee4eea5b82b4cc69 (patch)
treee6b5161e990a09688f8e295bbc3db0227154cb7f /railties/guides/source
parent1945bafba2dba80ae0e5595127361fed8bb2d5de (diff)
downloadrails-8dc892618ef8b7554cd40f22ee4eea5b82b4cc69.tar.gz
rails-8dc892618ef8b7554cd40f22ee4eea5b82b4cc69.tar.bz2
rails-8dc892618ef8b7554cd40f22ee4eea5b82b4cc69.zip
[docs] added missing "}" fixes #4126
Diffstat (limited to 'railties/guides/source')
-rw-r--r--railties/guides/source/active_record_querying.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/active_record_querying.textile b/railties/guides/source/active_record_querying.textile
index 0cbabd71a1..beada85ce3 100644
--- a/railties/guides/source/active_record_querying.textile
+++ b/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>