BathHacked/energy-sparks

View on GitHub
app/controllers/schools/your_school_estates_controller.rb

Summary

Maintainability
A
1 hr
Test Coverage

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

    def school_params
      params.require(:school).permit(
        :indicated_has_solar_panels,
        :indicated_has_storage_heaters,
        :has_swimming_pool,
Severity: Minor
Found in app/controllers/schools/your_school_estates_controller.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status