Yes, you can ignore warnings.
Run rails_best_practices -g . This will create the rails_best_practices.yml configuration rails_best_practices.yml .
You can delete or comment on one review to disable it, and you can change the settings.
You can apply the ignored_files parameter to any rule by specifying a regular expression or an array of regular expressions that describe the path to files that you do not want to check:
DefaultScopeIsEvilCheck: { ignored_files: 'user\.rb' } LongLineCheck: { max_line_length: 80, ignored_files: ['db/migrate', 'config/initializers'] }
source share