From af9762f04efe9634a2164b830318923a55233e9f Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Wed, 29 Jan 2025 16:37:29 +0530 Subject: [PATCH] feat: it's okay to just start with a title --- app/models/article.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/models/article.rb b/app/models/article.rb index ace793016..e01cb3353 100644 --- a/app/models/article.rb +++ b/app/models/article.rb @@ -53,7 +53,6 @@ class Article < ApplicationRecord validates :account_id, presence: true validates :author_id, presence: true validates :title, presence: true - validates :content, presence: true # ensuring that the position is always set correctly before_create :add_position_to_article