rubocop-github icon indicating copy to clipboard operation
rubocop-github copied to clipboard

Unify controller render cops?

Open rmosolgo opened this issue 7 years ago • 0 comments

It looks like there are several cops which implement various approaches to recommending:

render "path/to/template", { ... options ... }

Why are these cops separate? Could they be unified?

For example, one cop replaces render action: :edit => render action: "edit", but another replaces render action: "edit" => render "edit". So, could we jump right from render action: :edit" => render "edit"?

rmosolgo avatar Oct 03 '18 14:10 rmosolgo