Welcome to Legacy Rails Apps!
While plenty has been written about how to start new Rails apps, much less has been written about how to work on legacy Rails apps. This
Ruby on Racetracks site applies the Ruby on Racetracks principles to legacy apps.
While the Generic App and Rails Neutrino app creation tools are designed to give you the same output every time you use them, every legacy app must be different, and the specific actions needed to build, test, and improve them will be different. This Legacy Rails Apps site describes the general actions you need to take.
Please note that compromises are needed to work on legacy Rails apps. For example, adding RuboCop and Rails Best Practices is NOT recommended. A legacy app that does not already have these tools in place likely has thousands of offenses to correct. This would require an industrial scale cleanup at a time when you have more pressing issues to address.