Commit bc6302b9 authored by Ahmad Sherif's avatar Ahmad Sherif

Use public_send instead of send

parent 14fbd25d
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment