Skip to content

Commit

Permalink
Update upgrade guide for has_noticed_notifications in 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
excid3 committed Jan 29, 2024
1 parent 4675e98 commit df172b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ end

### Has Noticed Notifications

`has_noticed_notifications` has been removed in favor of the `record` polymorphic relationship that can be directly queried with ActiveRecord. You can add the necessary json query to your model(s) to restore the json query if needed.
`has_noticed_notifications` has been superceded with a `record` polymorphic relationship that can be directly associated and queried with ActiveRecord.

We recommend backfilling the `record` association if your notification params has a primary related record and switching to a has_many association instead.

Expand Down

0 comments on commit df172b4

Please sign in to comment.