Skip to content

Commit

Permalink
Define type and coder of serialzed attribute since this is required s…
Browse files Browse the repository at this point in the history
…in rails 7.1
  • Loading branch information
Vakmeth committed Jan 30, 2025
1 parent d4750fd commit 0c843da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class LegacyGroupSetting < ActiveRecord::Base
self.table_name = 'settings'
belongs_to :target, polymorphic: true

serialize :value, Hash
serialize :value, type: Hash, coder: YAML
end

private
Expand Down

0 comments on commit 0c843da

Please sign in to comment.