We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
:json
attributes
1 parent b2f4e3c commit 7fcb1f5Copy full SHA for 7fcb1f5
app/models/noticed/event.rb
@@ -12,7 +12,7 @@ class Event < ApplicationRecord
12
13
scope :newest_first, -> { order(created_at: :desc) }
14
15
- attribute :params, :json, default: {}
+ attribute :params, default: {}
16
17
# Ephemeral notifiers cannot serialize params since they aren't ActiveRecord backed
18
if respond_to? :serialize
0 commit comments