We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4deea1 commit 6b0659fCopy full SHA for 6b0659f
1 file changed
app/models/devise_token_auth/concerns/active_record_support.rb
@@ -2,7 +2,7 @@ module DeviseTokenAuth::Concerns::ActiveRecordSupport
2
extend ActiveSupport::Concern
3
4
included do
5
- if Rails::VERSION::MAJOR >= 7 && Rails::VERSION::MINOR >= 1
+ if Rails.gem_version >= Gem::Version.new("7.1.0.a")
6
serialize :tokens, coder: DeviseTokenAuth::Concerns::TokensSerialization
7
else
8
serialize :tokens, DeviseTokenAuth::Concerns::TokensSerialization
0 commit comments