[fix #575] dossier updated_at is ... updated when children are updated

This commit is contained in:
Simon Lehericey 2017-10-24 18:12:25 +02:00
parent 2d2929e5f6
commit 8dedf6fdca
8 changed files with 65 additions and 7 deletions

View file

@ -1,5 +1,5 @@
class Commentaire < ActiveRecord::Base
belongs_to :dossier
belongs_to :dossier, touch: true
belongs_to :champ
belongs_to :piece_justificative