diff options
author | Hyonjee Joo <hj2339@columbia.edu> | 2015-02-16 01:30:41 -0500 |
---|---|---|
committer | Hyonjee Joo <hj2339@columbia.edu> | 2015-02-18 10:22:13 -0500 |
commit | 219d71fb9049da677c9426c6d81bf9e74fae1977 (patch) | |
tree | ade1ec3240e393668463b1904254346175867308 /activerecord/CHANGELOG.md | |
parent | 28fccad2c4ca8159b1c827026cdd09de9c5a3669 (diff) | |
download | rails-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.md | 5 |
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. |