codeRIT/hackathon_manager

View on GitHub
app/inputs/deletable_attachment_input.rb

Summary

Maintainability
A
0 mins
Test Coverage

Prefer to_s over string interpolation.
Wontfix

    if object.send("#{attribute_name}").attached?

This cop checks for strings that are just an interpolated expression.

Example:

# bad
"#{@var}"

# good
@var.to_s

# good if @var is already a String
@var

There are no issues that match your filters.

Category
Status