Skip to content

Commit

Permalink
Fix incompatibility with rails 7.1 (#49)
Browse files Browse the repository at this point in the history
* Update feedback.rb
  • Loading branch information
mdotvasylenchuk authored Jul 25, 2024
1 parent 8e83c7a commit f4fa7a8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/models/fdbq/feedback.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ module Fdbq
class Feedback < Rails.model_parent.constantize
self.table_name = "fdbq_feedback"

serialize :fields, Hash

serialize :fields, coder: YAML, type: Hash

validate :required_fields

Expand Down

0 comments on commit f4fa7a8

Please sign in to comment.