scottdevoss / viewing_party_lite_7

1 stars 1 forks source link

Refactor Mach I #29

Closed coryrpow closed 1 year ago

coryrpow commented 1 year ago

Refactored using the rubocop gem. It was fairly intuitive once I removed some of the stuff from tracking that wasn't needed. I cleaned up everything starting with the spec tests and then went from the controllers down and just tried to see what could be changed and refactored. Some of the suggestions were helpful and useful to see how to reorient if else statements more cleanly.