Skip to content

Commit

Permalink
Remove :json param for attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiculescu authored Sep 4, 2024
1 parent b2f4e3c commit 7fcb1f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/noticed/event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Event < ApplicationRecord

scope :newest_first, -> { order(created_at: :desc) }

attribute :params, :json, default: {}
attribute :params, default: {}

# Ephemeral notifiers cannot serialize params since they aren't ActiveRecord backed
if respond_to? :serialize
Expand Down

0 comments on commit 7fcb1f5

Please sign in to comment.