educoder/app/models/trustie_hackathon.rb

6 lines
147 B

class TrustieHackathon < ApplicationRecord
validates_length_of :description, maximum: 500
has_many :trustie_hacks, :dependent => :destroy
end