aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema/schema.rb
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/test/schema/schema.rb
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/test/schema/schema.rb')
0 files changed, 0 insertions, 0 deletions