diff options
author | João Britto <jabcalves@gmail.com> | 2012-03-08 15:22:06 -0300 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-03-13 23:33:09 +0530 |
commit | a782fea3592ed0e28f5f5d3815451198e8f40432 (patch) | |
tree | 5f095061e560b10d796344b526cd7bd1ae47faf7 /railties/guides | |
parent | 5f281454a99307212995dce4971e8e9202597bb7 (diff) | |
download | rails-a782fea3592ed0e28f5f5d3815451198e8f40432.tar.gz rails-a782fea3592ed0e28f5f5d3815451198e8f40432.tar.bz2 rails-a782fea3592ed0e28f5f5d3815451198e8f40432.zip |
Close string quotes
Diffstat (limited to 'railties/guides')
-rw-r--r-- | railties/guides/source/association_basics.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/association_basics.textile b/railties/guides/source/association_basics.textile index 9e22fc4588..6f0d985cac 100644 --- a/railties/guides/source/association_basics.textile +++ b/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> |