add limit of post per day

This commit is contained in:
João Victor Geonizeli
2022-02-27 17:10:15 -03:00
parent 1d692b31f8
commit 7a24f7950b
4 changed files with 41 additions and 1 deletions

View File

@@ -7,4 +7,6 @@ class User < ApplicationRecord
format: {
with: /\A[a-zA-Z0-9]+\z/,
}
has_many :posts
end