You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm just following the readme to setup devise-two-factor. To setup encryption one should setup db encryption by issuing following command:
rails db:encryption:init
On Rails 6 this fails with:
rails aborted!
Don't know how to build task 'db:encryption:init' (See the list of available tasks with `rails --tasks`)
Did you mean? db:environment:set
IIRC Active Record Encryption was introduced with Rails 7.
Should we use a version < 5 of this gem for rails 6 or is there a way to setup the current version with rails 6?
The text was updated successfully, but these errors were encountered:
Well, I am not a maintainer here or anything like that, but from the changelog we can see it says "Rails 7 is now required" for version 5.0.0 so I guess you should use gem version < 5 for rails 6.
I'm just following the readme to setup devise-two-factor. To setup encryption one should setup db encryption by issuing following command:
On Rails 6 this fails with:
IIRC Active Record Encryption was introduced with Rails 7.
Should we use a version < 5 of this gem for rails 6 or is there a way to setup the current version with rails 6?
The text was updated successfully, but these errors were encountered: