aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorEileen M. Uchitelle <eileencodes@users.noreply.github.com>2018-08-08 10:08:03 -0400
committerGitHub <noreply@github.com>2018-08-08 10:08:03 -0400
commit3000c1490565b3a21376d6444cb6fe24dfe4e383 (patch)
treefb438865b9def504968e7e56e1e2410b12da052e /guides
parent0bec7cd665a45ee60948a119ebb2b68daeeb1fbe (diff)
parent6ae302c9da8462aef5394cef356b323d50bd799c (diff)
downloadrails-3000c1490565b3a21376d6444cb6fe24dfe4e383.tar.gz
rails-3000c1490565b3a21376d6444cb6fe24dfe4e383.tar.bz2
rails-3000c1490565b3a21376d6444cb6fe24dfe4e383.zip
Merge pull request #33554 from saveriomiroddi/sav-correct_updated_at_guide_explanation
ActiveRecord Basics guide: correct explanation of the `updated_at` logic [ci skip]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/active_record_basics.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_basics.md b/guides/source/active_record_basics.md
index d90ea2e26a..fad4c19827 100644
--- a/guides/source/active_record_basics.md
+++ b/guides/source/active_record_basics.md
@@ -115,7 +115,7 @@ to Active Record instances:
* `created_at` - Automatically gets set to the current date and time when the
record is first created.
* `updated_at` - Automatically gets set to the current date and time whenever
- the record is updated.
+ the record is created or updated.
* `lock_version` - Adds [optimistic
locking](http://api.rubyonrails.org/classes/ActiveRecord/Locking.html) to
a model.