scinote-web/app/models/log.rb
2017-01-24 16:34:21 +01:00

6 lines
145 B
Ruby

class Log < ActiveRecord::Base
validates :message, presence: true
validates :team, presence: true
belongs_to :team, inverse_of: :logs
end