diff options
author | Dave Burt <dave@burt.id.au> | 2012-03-20 16:13:19 +1100 |
---|---|---|
committer | Dave Burt <dave@burt.id.au> | 2012-03-20 16:13:19 +1100 |
commit | a4b1423f4eb9de79c520032866240bcaa9b109c4 (patch) | |
tree | cb1596b25d82867a1d319c6744f6c87e3999798b /activerecord | |
parent | 884cb24afbef38600ae0c5ac3934b72ffd8d99a5 (diff) | |
download | rails-a4b1423f4eb9de79c520032866240bcaa9b109c4.tar.gz rails-a4b1423f4eb9de79c520032866240bcaa9b109c4.tar.bz2 rails-a4b1423f4eb9de79c520032866240bcaa9b109c4.zip |
Correct description of ['migrated_at > ?', 1.week.ago] from "more than a week ago" to "more recently than a week ago."
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/relation.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |