mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 12:16:06 +08:00
8 lines
161 B
Ruby
8 lines
161 B
Ruby
|
class ResultText < ActiveRecord::Base
|
||
|
validates :text, presence: true
|
||
|
validates :result, presence: true
|
||
|
|
||
|
belongs_to :result, inverse_of: :result_text
|
||
|
|
||
|
end
|