Code Climate
Product
Browser Extension
Features
Pricing
Developers
Sign up
Login
AyuntamientoMadrid/participacion
View on GitHub
Star
Overview
Progress
Issues
Code
Filters
Trends
Last
master
build
See recent builds
7 days ago
Refresh default branch
Refresh
app/components/admin/poll/questions/form_component.rb
Summary
Maintainability
A
0 mins
Test Coverage
Issues
Source
Stats
Redundant
all
detected. (https://rails.rubystyle.guide/#redundant-all)
Open
Poll.all.select { |poll| can?(:create, Poll::Question.new(poll: poll)) }.map do |poll|
Severity: Minor
Found in
app/components/admin/poll/questions/form_component.rb
by
rubocop
Exclude checks
Disable engine
Disable check
Close
There are no issues that match your filters.
Clear all filters
Category
Bug Risk
Status
Open
Confirmed
Invalid
Wontfix