Rubocop don't check HasAndBelongsToMany
Change from filter to action in controller
Use delegates