gitlab-org--gitlab-foss/app/models/forked_project_link.rb
Semyon Pupkov de460f7e4d Use string for class_name option for lazy autoload class
Passing constant into this option is deprecated in Rails 5.2
8312a0d222
2017-01-15 12:08:29 +05:00

4 lines
161 B
Ruby

class ForkedProjectLink < ActiveRecord::Base
belongs_to :forked_to_project, class_name: 'Project'
belongs_to :forked_from_project, class_name: 'Project'
end