Updates the copyright to 2021 for all files that have a copyright. Files in our source code without the copyright header still do not receive one automatically. Additionally, backlisted files are also excluded.
Previously the copyright of chiliproject which references redmine stated a copyright of redmine up to and including 2017 which is not true for the code we have in here. Because of that I changed that to 2013
Active Record 4.x does not generate correct DELETE SQL statements
when deleting groups for a given `User` (the `GroupUser` join model
does not have a primary key).
Callbacks (e.g. `after_remove`) *are* invoked on
`has_and_belongs_to_many` associations.
This effectively reverts 6c5239c4e2
Signed-off-by: Alex Coles <alex@alexbcoles.com>
this replaces a has_and_belongs_to_many association, that contained additional parameters like :after_add and :after_destroy. these additional parameters aren't supported for habtm beginning with rails 3.1.0