Do not type cast ActiveRecord model instance attributes in instance returned from Rodauth::Rails.rodauth. Fixes problems with integer status column values being typecasted to string values by enum definition in Account model.
Thanks for the PR! There is a test failure in Ruby 3.2 & Rails 6.1, but I couldn't reproduce it locally. Hopefully it's a fluke, I'll just go ahead and merge this.
Do not type cast ActiveRecord model instance attributes in instance returned from
Rodauth::Rails.rodauth
. Fixes problems with integerstatus
column values being typecasted to string values by enum definition inAccount
model.