mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-08 16:40:16 +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
|