mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-30 20:06:20 +08:00
6 lines
143 B
Ruby
6 lines
143 B
Ruby
class StepComment < Comment
|
|
belongs_to :step, foreign_key: :associated_id, inverse_of: :step_comments
|
|
|
|
validates :step, presence: true
|
|
end
|