mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 11:47:56 +01: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
|