Permalink
Browse files

Close string quotes

  • Loading branch information...
britto committed Mar 8, 2012
1 parent 05801ff commit 87618240377d6e14a5410bd8a3ad12f138bad397
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/association_basics.textile
@@ -1322,7 +1322,7 @@ If you need to evaluate conditions dynamically at runtime, use a proc:
<ruby>
class Customer < ActiveRecord::Base
has_many :latest_orders, :class_name => "Order",
- :conditions => proc { ["orders.created_at > ?, 10.hours.ago] }
+ :conditions => proc { ["orders.created_at > ?", 10.hours.ago] }
end
</ruby>

0 comments on commit 8761824

Please sign in to comment.