mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-13 08:29:22 +08:00
7 lines
185 B
Ruby
7 lines
185 B
Ruby
|
class RepositoryDateValue < ActiveRecord::Base
|
||
|
has_one :repository_cell, as: :value
|
||
|
accepts_nested_attributes_for :repository_cell
|
||
|
|
||
|
validates :repository_cell, presence: true
|
||
|
end
|