Don't touch steps when commenting [SCI-7584]

This commit is contained in:
Martin Artnik 2023-02-02 16:28:23 +01:00
parent 15ac306244
commit ae7fce446b

View file

@ -3,7 +3,7 @@
class StepComment < Comment
before_create :fill_unseen_by
belongs_to :step, foreign_key: :associated_id, inverse_of: :step_comments, touch: true
belongs_to :step, foreign_key: :associated_id, inverse_of: :step_comments
validates :step, presence: true