From a4b1423f4eb9de79c520032866240bcaa9b109c4 Mon Sep 17 00:00:00 2001 From: Dave Burt Date: Tue, 20 Mar 2012 16:13:19 +1100 Subject: Correct description of ['migrated_at > ?', 1.week.ago] from "more than a week ago" to "more recently than a week ago." --- activerecord/lib/active_record/relation.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord') diff --git a/activerecord/lib/active_record/relation.rb b/activerecord/lib/active_record/relation.rb index ae2dc6872a..b125449127 100644 --- a/activerecord/lib/active_record/relation.rb +++ b/activerecord/lib/active_record/relation.rb @@ -256,7 +256,7 @@ module ActiveRecord # # Update all books with 'Rails' in their title # Book.update_all "author = 'David'", "title LIKE '%Rails%'" # - # # Update all avatars migrated more than a week ago + # # Update all avatars migrated more recently than a week ago # Avatar.update_all ['migrated_at = ?', Time.now.utc], ['migrated_at > ?', 1.week.ago] # # # Update all books that match conditions, but limit it to 5 ordered by date -- cgit v1.2.3