Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAhmad Sherif <me@ahmadsherif.com>2016-10-27 15:54:51 +0300
committerAhmad Sherif <me@ahmadsherif.com>2016-10-28 12:30:20 +0300
commitbc6302b942e1eb9e5d7148004c7e6d0d081e13ef (patch)
treef1b01f2454b2f4a23d7a06d3f055decf1906e9e9 /lib/gitlab/github_import
parent14fbd25d06248ee268434278e0fe31fec262d23b (diff)
Use public_send instead of send
Diffstat (limited to 'lib/gitlab/github_import')
-rw-r--r--lib/gitlab/github_import/base_formatter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/github_import/base_formatter.rb b/lib/gitlab/github_import/base_formatter.rb
index d07bb43044b..6dbae64a9fe 100644
--- a/lib/gitlab/github_import/base_formatter.rb
+++ b/lib/gitlab/github_import/base_formatter.rb
@@ -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