Fix new rubocop warnings

This commit is contained in:
Tom Hughes 2020-06-11 19:19:12 +01:00
parent 2c341c438a
commit 39b60219fe
10 changed files with 22 additions and 23 deletions

View file

@ -21,6 +21,6 @@ class RelationMember < ApplicationRecord
self.table_name = "current_relation_members"
self.primary_keys = "relation_id", "sequence_id"
belongs_to :relation, :foreign_key => :relation_id
belongs_to :relation
belongs_to :member, :polymorphic => true
end