Open chumakoff opened 3 years ago
Yes this is probably what we are forced to do with HABTM relationships. I wouldnt recommend using HABTM relationships ever really, try using a has_many through
relationship
Alternatively depending on the use case it may be an idea to add has_paper_trail only: [:revision_number]
or something on the parent model to limit the number of version records created.
Whenever I update a main record, versions for hundreds associated through 'has_and_belongs_to_many' records are created. Is that an expected behavior?