diff options
author | fatkodima <fatkodima@rambler.ru> | 2017-12-19 20:42:46 +0200 |
---|---|---|
committer | fatkodima <fatkodima123@gmail.com> | 2018-04-13 11:09:01 +0300 |
commit | 73aa40034aabc385f125a905c5b59f29db03e634 (patch) | |
tree | bf5e7afe10ebb126fc0153045d3fe3b5774327ab /activerecord/CHANGELOG.md | |
parent | 57fe81200f1b645acd62ec004b4664944a3fbf68 (diff) | |
download | rails-73aa40034aabc385f125a905c5b59f29db03e634.tar.gz rails-73aa40034aabc385f125a905c5b59f29db03e634.tar.bz2 rails-73aa40034aabc385f125a905c5b59f29db03e634.zip |
Add `touch_all` method to `ActiveRecord::Relation`
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index d8bf7df63b..c4a4e767cd 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,11 @@ +* Add `touch_all` method to `ActiveRecord::Relation`. + + Example: + + Person.where(name: "David").touch_all(time: Time.new(2020, 5, 16, 0, 0, 0)) + + *fatkodima*, *duggiefresh* + * Add `ActiveRecord::Base.base_class?` predicate. *Bogdan Gusiev* |