otwcode/otwarchive

View on GitHub
app/controllers/preferences_controller.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method preference_params has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def preference_params
    params.require(:preference).permit(
      :email_visible,
      :date_of_birth_visible,
      :minimize_search_engines,
Severity: Minor
Found in app/controllers/preferences_controller.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status