diff options
author | João Britto <jabcalves@gmail.com> | 2012-03-08 15:22:06 -0300 |
---|---|---|
committer | João Britto <jabcalves@gmail.com> | 2012-03-09 12:13:13 -0300 |
commit | 87618240377d6e14a5410bd8a3ad12f138bad397 (patch) | |
tree | 0cc5cdd1f067f3f4a09de2adf2f1418f0d59db12 /railties/guides | |
parent | 05801ffe2dca913796a1da2964e71ccef4d411e5 (diff) | |
download | rails-87618240377d6e14a5410bd8a3ad12f138bad397.tar.gz rails-87618240377d6e14a5410bd8a3ad12f138bad397.tar.bz2 rails-87618240377d6e14a5410bd8a3ad12f138bad397.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 ba92aedbd0..493b7c30be 100644 --- a/railties/guides/source/association_basics.textile +++ b/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> |