mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 10:06:53 +08:00
6 lines
145 B
Ruby
6 lines
145 B
Ruby
class Log < ActiveRecord::Base
|
|
validates :message, presence: true
|
|
validates :team, presence: true
|
|
|
|
belongs_to :team, inverse_of: :logs
|
|
end
|