heartcombo / devise

Flexible authentication solution for Rails with Warden.
http://blog.plataformatec.com.br/tag/devise/
MIT License
23.83k stars 5.53k forks source link

Replace [data-turbo-cache=false] with [data-turbo-temporary] #5662

Open eduardoyutaka opened 6 months ago

eduardoyutaka commented 6 months ago

Environment

Current behavior

The default _error_messages.html.erb partial uses a deprecated Turbo attribute data-turbo-cache=false

This attribute was deprecated on Feb 15 2023 in this pull request

Expected behavior

Use more up-to-date attribute name called data-turbo-temporary to avoid deprecation issues and reduce developer confusion as data-turbo-temporary is the only attributed mentioned in Turbo Drive's documentation