devise_token_auth
devise_token_auth copied to clipboard
DeviseTokenAuth::Concerns::User overrides default ActiveModel dirty behavior
https://github.com/lynndylanhurley/devise_token_auth/blob/8f44a8c66fd772b2d33be4ba187c0b1a47caba2a/app/models/devise_token_auth/concerns/user.rb#L44
If I include the DeviseTokenAuth::Concerns::User
concern in one of my models, I can not longer reliably check changes the email attribute via user#email_changed?
. This can lead to very unexpected behavior.