```ruby
# Be sure to restart your server when you modify this file.

Rails.application.config.action_dispatch.cookies_serializer = :json
```

Fix bug with devise and mongoid current_user, user_signed_in ... works :)
user
```ruby
# Be sure to restart your server when you modify this file.

# Rails.application.config.action_dispatch.cookies_serializer = :json
```
assistant