Closed saad-siddique-tx closed 1 year ago
Rails 6.1 support was officially added on Devise 4.8.0: https://github.com/heartcombo/devise/blob/main/CHANGELOG.md#480---2021-04-29
Please try upgrading and if that doesn't work report back with some steps to repro. Thanks.
Pre-check
Environment
Current behavior
=> current_user method return me undefined method update_attributes after upgrade rails from 6.0.5 to 6.1 => update_attribute method was remove in 6.1 Include code samples, errors, steps to reproduce the error and stack traces if appropriate.
Will be even more helpful if you provide a sample application or a test case that reproduces the error.
Expected behavior
current_user return me the same result as in previous rails version like sign in user object