mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-06 15:40:31 +08:00
7 lines
161 B
Ruby
7 lines
161 B
Ruby
class ResultText < ActiveRecord::Base
|
|
validates :text, presence: true
|
|
validates :result, presence: true
|
|
|
|
belongs_to :result, inverse_of: :result_text
|
|
|
|
end
|