BathHacked/energy-sparks

View on GitHub
app/controllers/schools_controller.rb

Summary

Maintainability
A
1 hr
Test Coverage
A
98%

Method school_params has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def school_params
    params.require(:school).permit(
      :name,
      :activation_date,
      :school_type,
Severity: Minor
Found in app/controllers/schools_controller.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status