Is there a way to disable warning from reek gem per method, per line or per block? What we have for rubocop for example # suppress warning Use snake ...
Is there a way to disable warning from reek gem per method, per line or per block? What we have for rubocop for example # suppress warning Use snake ...
The model is defined as follows This raises the following warning by reek Order#stop_type is a writable attribute Any idea on how to fix thi ...
I have a .reek.yml file in the root of my rails app with the following content: However, when I run the following command, rubycritic app lib, it d ...
I'd like to know if there is a simpler way to do this condition in ruby My Condition : The problem of that condition, that reek throw warning of u ...
I'm using a tool for finding code smells in code called reek and I have a problem with one called Control Parameter warning's content: [ How do ...
I'm following Michael Hartl tutorial Rails course. On chapter 7, I run Reek on UsersController and I got this following warning: app/controllers/u ...
I'm learning Rails course by Michael Hartl, on chapter 4, I have function full_title as following: app/helpers/application_helper.rb Runing reek ( ...
I've been using Reek lately to refactor my code and one of the smells, DuplicateMethodCall, is being called on array and hash lookups, such as array[1 ...
This simple method on a class just run the status method using the safe navigation operator. But reek report this warning: How can I properly wr ...
I'm currently writing a very simple start to a test tool. The idea is that you can have classes that include my "Testable" module. For example: The ...
I get a warning when running reek on a Rails project: [36]:ArborReloaded::UserStoryService#destroy_stories has approx 8 statements (TooManyStateme ...
I have this code reek complains for DuplicateMethodCall (calls format.json twice) What is the best way to do it in rails? or is this false positive ...
I'm getting below error in my Robot class: This is the problematic code that's causing it: How would we re-organise this to avoid this warning? ...
I have below error: Generated from below code: How would we get rid of this repeat? ...
How to rectify DuplicateMethodCall from reek on the following calls How should I handle params[:some] should I declare it separately. ...
I'm using reek as an analyzing tool for best practices in my code. However recently I found that if in the method, I have boolean parameters, such as. ...
Would Reek be useful in training a ruby noob in good practices or does it require an experienced ruby eye to use and interpret? I have mumble-muble ...
So we run a code quality tool called reek once in a while as part of our project. The tool basically looks for code smells and reports them. Here, we ...