songtianlun
0b0c8587ae
- Add @user.destroy to ensure proper cleanup on failure This change prevents incomplete user records from being left in the database when user creation fails due to an error. |
||
---|---|---|
.. | ||
concerns | ||
account_activations_controller.rb | ||
application_controller.rb | ||
password_resets_controller.rb | ||
sessions_controller.rb | ||
static_pages_controller.rb | ||
users_controller.rb |