Add some welcome entities on tenant signup (#266)

This commit is contained in:
Riccardo Graziosi
2024-01-24 18:37:54 +01:00
committed by GitHub
parent d80f63f27f
commit 30b7b0f5f4
13 changed files with 90 additions and 77 deletions

View File

@@ -11,7 +11,7 @@ class Post < ApplicationRecord
has_many :comments, dependent: :destroy
has_many :post_status_changes, dependent: :destroy
validates :title, presence: true, length: { in: 4..64 }
validates :title, presence: true, length: { in: 4..128 }
paginates_per Rails.application.posts_per_page