diff options
author | Sunny Ripert <sunny@sunfox.org> | 2009-04-28 15:01:41 +0200 |
---|---|---|
committer | Sunny Ripert <sunny@sunfox.org> | 2009-04-28 15:01:41 +0200 |
commit | 24b78dfcd0d8446fa43a4ebadb558509409e72d8 (patch) | |
tree | 231764c16ddfccb0b290f3950d84e276b06f09d0 | |
parent | 348d7f8a84ee1739ef54c4068263a7d36dd98fd1 (diff) | |
download | rails-24b78dfcd0d8446fa43a4ebadb558509409e72d8.tar.gz rails-24b78dfcd0d8446fa43a4ebadb558509409e72d8.tar.bz2 rails-24b78dfcd0d8446fa43a4ebadb558509409e72d8.zip |
Missing tiny quote
-rwxr-xr-x | activerecord/lib/active_record/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index 97c36a675d..d331147270 100755 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -829,7 +829,7 @@ module ActiveRecord #:nodoc: # Book.update_all "author = 'David'", "title LIKE '%Rails%'" # # # Update all avatars migrated more than a week ago - # Avatar.update_all ['migrated_at = ?, Time.now.utc], ['migrated_at > ?', 1.week.ago] + # Avatar.update_all ['migrated_at = ?', Time.now.utc], ['migrated_at > ?', 1.week.ago] # # # Update all books that match our conditions, but limit it to 5 ordered by date # Book.update_all "author = 'David'", "title LIKE '%Rails%'", :order => 'created_at', :limit => 5 |