Skip to content

Commit

Permalink
Fix deprecation of class as positional argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
MuriloDalRi committed Nov 15, 2023
1 parent 1cb3d14 commit 0e238dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/models/user.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class User < ApplicationRecord
include GDS::SSO::User

serialize :permissions, Array
serialize :permissions, type: Array
end
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class ChangeUserPermissionsToArray < ActiveRecord::Migration
class User < ApplicationRecord
serialize :permissions
serialize :permissions, type: Array
end

def up
Expand Down

0 comments on commit 0e238dc

Please sign in to comment.