aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorHyonjee Joo <hj2339@columbia.edu>2015-02-16 01:30:41 -0500
committerHyonjee Joo <hj2339@columbia.edu>2015-02-18 10:22:13 -0500
commit219d71fb9049da677c9426c6d81bf9e74fae1977 (patch)
treeade1ec3240e393668463b1904254346175867308 /activerecord/CHANGELOG.md
parent28fccad2c4ca8159b1c827026cdd09de9c5a3669 (diff)
downloadrails-219d71fb9049da677c9426c6d81bf9e74fae1977.tar.gz
rails-219d71fb9049da677c9426c6d81bf9e74fae1977.tar.bz2
rails-219d71fb9049da677c9426c6d81bf9e74fae1977.zip
Add `time` option to `#touch`
Fixes #18905. `#touch` now takes time as an option. Setting the option saves the record with the updated_at/on attributes set to the current time or the time specified. Updated tests and documentation accordingly.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index d0d5481d81..a3b680f09d 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,8 @@
+* `:time` option added for `#touch`
+ Fixes #18905.
+
+ *Hyonjee Joo*
+
* Deprecated passing of `start` value to `find_in_batches` and `find_each`
in favour of `begin_at` value.