• Yorick Peterse's avatar
    Set inverse_of for Project/Services relation · 8a9164bf
    Yorick Peterse authored
    This ensures that code such as this don't run needless SQL queries:
    
        project.gitlab_issue_tracker_service.project
    
    This also means that if the root `project` eager loads any associations
    the Service object will be able to re-use those.
    8a9164bf
project.rb 31.1 KB