Permalink
Browse files

Close string quotes

  • Loading branch information...
1 parent 5f28145 commit a782fea3592ed0e28f5f5d3815451198e8f40432 @britto britto committed with vijaydev Mar 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/association_basics.textile
@@ -1319,7 +1319,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 a782fea

Please sign in to comment.