Skip to content

Commit

Permalink
Close string quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
britto authored and vijaydev committed Mar 13, 2012
1 parent 5f28145 commit a782fea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/guides/source/association_basics.textile
Expand Up @@ -1319,7 +1319,7 @@ If you need to evaluate conditions dynamically at runtime, use a proc:
<ruby> <ruby>
class Customer < ActiveRecord::Base class Customer < ActiveRecord::Base
has_many :latest_orders, :class_name => "Order", has_many :latest_orders, :class_name => "Order",
:conditions => proc { ["orders.created_at > ?, 10.hours.ago] } :conditions => proc { ["orders.created_at > ?", 10.hours.ago] }
end end
</ruby> </ruby>


Expand Down

0 comments on commit a782fea

Please sign in to comment.