you has_many should be indented like this:

```
has_many :building_units,
  inverse_of: :building_owner,
  dependent: :nullify
```