From c29fbd3c7aa6391e820f682a960968aab7a52d07 Mon Sep 17 00:00:00 2001 From: Genadi Samokovarov Date: Thu, 17 Dec 2015 11:30:30 +0100 Subject: ApplicationRecord documentation pass This is a pass over the documentation which fills the missing gaps of `ApplicationRecord`. [ci skip] --- guides/source/testing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source/testing.md') 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 ``` -- cgit v1.2.3