Feature: Run callbacks on through model when detaching association #2579
Annotations
3 errors
standardrb:
app/controllers/avo/associations_controller.rb#L179
[rubocop] reported by reviewdog 🐶
[Corrected] Layout/ArgumentAlignment: Use one level of indentation for arguments following the first line of a multi-line method call.
Raw Output:
app/controllers/avo/associations_controller.rb:179:51: C: [Corrected] Layout/ArgumentAlignment: Use one level of indentation for arguments following the first line of a multi-line method call.
through_foreign_key => @record.id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
standardrb:
spec/features/avo/has_many_field_spec.rb#L165
[rubocop] reported by reviewdog 🐶
[Correctable] Lint/UselessAssignment: Useless assignment to variable - team_membership.
Raw Output:
spec/features/avo/has_many_field_spec.rb:165:7: W: [Correctable] Lint/UselessAssignment: Useless assignment to variable - team_membership.
team_membership = team.memberships.first
^^^^^^^^^^^^^^^
|
standardrb:
spec/features/avo/has_many_field_spec.rb#L175
[rubocop] reported by reviewdog 🐶
[Correctable] Lint/UselessAssignment: Useless assignment to variable - team_membership.
Raw Output:
spec/features/avo/has_many_field_spec.rb:175:7: W: [Correctable] Lint/UselessAssignment: Useless assignment to variable - team_membership.
team_membership = user.team_memberships.first
^^^^^^^^^^^^^^^
|
Loading