mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-21 15:36:22 +08:00
6 lines
115 B
Ruby
6 lines
115 B
Ruby
class StepComment < Comment
|
|
belongs_to :step, foreign_key: :associated_id
|
|
|
|
validates :step, presence: true
|
|
end
|