Rails/SaveBang: If you use a do block after a create
... it won't recognize the .persisted?
check.
#3439
Labels
create
... it won't recognize the .persisted?
check.
#3439
https://github.com/bbatsov/rails-style-guide#save-bang
If you use a do block after a create... it won't recognize the
.persisted?
check.Expected behavior
No error
Actual behavior
Throws:
Steps to reproduce the problem
Turn on
Then
RuboCop version
Include the output of
rubocop -V
:The text was updated successfully, but these errors were encountered: