diff options
author | Genadi Samokovarov <gsamokovarov@gmail.com> | 2015-12-17 11:30:30 +0100 |
---|---|---|
committer | Genadi Samokovarov <gsamokovarov@gmail.com> | 2015-12-17 11:56:35 +0100 |
commit | c29fbd3c7aa6391e820f682a960968aab7a52d07 (patch) | |
tree | 9a7bb5f8e6345321e5ff2eba809b4f5ab9da9c1a /guides/source/testing.md | |
parent | c4f8ce53b1f9af9585aeec9bbb0c66fc9c48ec1b (diff) | |
download | rails-c29fbd3c7aa6391e820f682a960968aab7a52d07.tar.gz rails-c29fbd3c7aa6391e820f682a960968aab7a52d07.tar.bz2 rails-c29fbd3c7aa6391e820f682a960968aab7a52d07.zip |
ApplicationRecord documentation pass
This is a pass over the documentation which fills the missing gaps of
`ApplicationRecord`.
[ci skip]
Diffstat (limited to 'guides/source/testing.md')
-rw-r--r-- | guides/source/testing.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/testing.md b/guides/source/testing.md index 58524fd6c5..a4b62955c5 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -177,7 +177,7 @@ Saved the article without a title Now to get this test to pass we can add a model level validation for the _title_ field. ```ruby -class Article < ActiveRecord::Base +class Article < ApplicationRecord validates :title, presence: true end ``` |