51aacabf13
Sometimes, when using nested attributes, touch doesn’t propagate to parent relationships. (see https://github.com/rails/rails/issues/26726) Specifically, this happens in our app when updating a dossier with only new attachements (but without changing the value of any fields). To work around this, we need to define the parent relationship explicitely. This is good practice anyway. Fix #3906 |
||
---|---|---|
.. | ||
controllers | ||
factories | ||
features | ||
fixtures | ||
helpers | ||
jobs | ||
lib | ||
mailers | ||
models | ||
serializers | ||
services | ||
support | ||
uploaders | ||
views | ||
rails_helper.rb | ||
spec_helper.rb |