Use public_send instead of send
This commit is contained in:
parent
14fbd25d06
commit
bc6302b942
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ module Gitlab
|
|||
end
|
||||
|
||||
def create!
|
||||
project.send(project_association).find_or_create_by!(find_condition) do |record|
|
||||
project.public_send(project_association).find_or_create_by!(find_condition) do |record|
|
||||
record.attributes = attributes
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue