You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inspecting 1 file
C
Offenses:
app/controllers/users_controller.rb:3:18: C: [Correctable] Rails/SaveBang: Use create! instead of create if the return value is not checked.
@user = User.create(create_params)
^^^^^^
Expected behavior
Local variable
and instance variable
behave the same.
Actual behavior
They do not 馃憞
Local variable
Instance variable
Steps to reproduce the problem
See above.
RuboCop version
The text was updated successfully, but these errors were encountered: