armandofox/audience1st

View on GitHub
app/helpers/reports_helper.rb

Summary

Maintainability
A
0 mins
Test Coverage
F
42%

Redundant use of Object#to_s in interpolation.
Open

    check_box_tag("use_#{attr.to_s}", "1", params["use_#{attr.to_s}".to_sym])
Severity: Minor
Found in app/helpers/reports_helper.rb by rubocop

This cop checks for string conversion in string interpolation, which is redundant.

Example:

# bad

"result is #{something.to_s}"

Example:

# good

"result is #{something}"

Redundant use of Object#to_s in interpolation.
Open

    check_box_tag("use_#{attr.to_s}", "1", params["use_#{attr.to_s}".to_sym])
Severity: Minor
Found in app/helpers/reports_helper.rb by rubocop

This cop checks for string conversion in string interpolation, which is redundant.

Example:

# bad

"result is #{something.to_s}"

Example:

# good

"result is #{something}"

There are no issues that match your filters.

Category
Status