mirror of
https://github.com/astuto/astuto.git
synced 2026-09-03 04:30:20 +02:00
5 lines
155 B
Ruby
5 lines
155 B
Ruby
class Board < ApplicationRecord
|
|
validates :name, presence: true, uniqueness: true
|
|
validates :description, length: { in: 0..1024 }, allow_nil: true
|
|
end
|