Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Disable Style/RaiseArgs #38
The recommended style
raise ActiveRecord::RecordInvalid, record
So, I'm not in favor of forcing this style unless this cop learns to do the conversion only if the second argument is a string literal.
What do you think?
Thanks for merging! Now let me ask you something. I simply removed these lines because the file only contained
Ideally I want the config to be as brief as possible (while still being disable-by-default and complete, so that changes to the Rubocop default ruleset do not inadvertently change Standard). If someone has a question about a specific rule, I hope they will search GitHub or