app/models/commit_group.rb
# TODO: Move this logic into the `github_repos` method if it isn't needed
# elsewhere.
Move this logic into the `github_repos` method if it isn't needed
elsewhere.
Move this logic into the ` github_repos ` method if it isn ' t needed elsewhere .
def repo_agreement
    @repo_agreement ||= Agreement.where({
      user_name: @repo_owner_name,
      repo_name: @repo_name
    }).first
  end
def repo_agreement @repo_agreement ||= Agreement . where ( { user_name : @repo_owner_name , repo_name : @repo_name } ) . first end
TODO: Move this logic into the `github_repos` method if it isn't needed
elsewhere.
TODO : Move this logic into the ` github_repos ` method if it isn ' t needed elsewhere .