brownfield-team / anacapa-github-linker

A tool for managing students in computer science courses. Deployed at:
https://ucsb-cs-github-linker.herokuapp.com
MIT License
4 stars 6 forks source link

REFACTOR: replace low level access to Role table with rolify api calls` #494

Open pconrad opened 2 years ago

pconrad commented 2 years ago

Look for code such as:

    Role.where(name: "instructor", resource_id: self.id).first.users.first

And consider whether each line of code that accesses the Role table might be better implemented with a call to an api method of the rolify gem.

Acceptance Criteria