rails/rails — Issue #4126: Typo in Rails Guides
Author: Keynotelabs
Created: 2011-12-22 06:15:07+00:00
State: open

Under the section "13.2 Passing in arguments", in the Rails Guide "Active Record Query Interface", it has the following code:

class Post < ActiveRecord::Base
scope :1_week_before, lambda { |time| where("created_at < ?", time)
end

I believe it is missing the closing }

Thanks