diff --git a/.standard.yml b/.standard.yml index f1b942c7..3c6e1900 100644 --- a/.standard.yml +++ b/.standard.yml @@ -1,3 +1,4 @@ +ruby_version: 3.0 ignore: - '**/*': - Style/HashSyntax diff --git a/lib/noticed/model.rb b/lib/noticed/model.rb index d4632e3f..d14ad6e5 100644 --- a/lib/noticed/model.rb +++ b/lib/noticed/model.rb @@ -54,7 +54,7 @@ def noticed_coder # Rehydrate the database notification into the Notification object for rendering def to_notifier - @_notifier||= begin + @_notifier ||= begin instance = type.constantize.with(params) instance.record = self instance.recipient = recipient