You should probably do ...

```ruby
[:before_add, :after_add, :before_remove, :after_remove, :autosave, :validate, :join_table].each do |k|
```

instead