Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ApplicationController complexity #2133

Open
telday opened this issue Apr 27, 2021 · 0 comments
Open

Fix ApplicationController complexity #2133

telday opened this issue Apr 27, 2021 · 0 comments

Comments

@telday
Copy link
Contributor

telday commented Apr 27, 2021

Is your feature request related to a problem? Please describe.

According to Code Climate the application_controller.rb file is currently slightly over the line limit per file and should be refactored. Currently it is 253 lines it should be <250.

During refactoring the repeated use of the logger.debug("#{e}\n#{e.backtrace.join("\n")}") line which appears in almost every method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant