Skip to content

Commit

Permalink
Remove duplicate attribute default value
Browse files Browse the repository at this point in the history
  • Loading branch information
excid3 committed Jan 16, 2024
1 parent 1ff4932 commit 5294cef
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/models/noticed/event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ class Event < ApplicationRecord
belongs_to :record, polymorphic: true, optional: true
has_many :notifications, dependent: :delete_all

attribute :params, default: {}
accepts_nested_attributes_for :notifications

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

0 comments on commit 5294cef

Please sign in to comment.