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 /actionpack/lib/action_controller/metal/params_wrapper.rb | |
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 'actionpack/lib/action_controller/metal/params_wrapper.rb')
0 files changed, 0 insertions, 0 deletions