Some methods (listed here) save the objects to the database irrespective of their validity. They should be used with caution. For example, touch
is one such method.
enumerator
, rational
, complex
and thread
need not be require
d, since they can be directly used in the program.
When using ActiveSupport's number pluralization, proper aliases should be used for readablity. For example, 1.day.ago
, while equivalent to 1.days.ago
, does not make grammatical sense.
enable
statement found after disable
RB-LI1034No # rubocop: enable
was found in the source code after the # rubocop: disable
comment. Since DeepSource respects issue silencing rules laid out by Rubocop, all issues in this file after the disable
statement will be silenced, and issues will
RuboCop configuration files contain cops/parameters config consumed by RuboCop to fine tune the analysis as desired. Since RuboCop is updated frequently, it is recommended to revisit the config file frequently and update any obsolete cops/parameters.