-
I'm running user = User.find_by_password_reset_token(params[:token])
(N.B. After disabling the line: user = User.find_by_password_reset_token(params[:token]) # rubocop:disable Rails/DynamicFindBy
How do I configure ruby-lsp to pass |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
👋 You would need to look up the syntax, but there should be away to enable the |
Beta Was this translation helpful? Give feedback.
The solution is to add the desired CLI arguments to a file named
.rubocop
, i.e.$ echo '--safe' >> .rubocop