New notifications is breaking on user invite

Leonard Bogdonoff
Chris Oliver I tried to User invite feature, and the notifications function is breaking on the invite originator.

Once I accept the invite with a new user in my app, the invite originator's account is stuck in a notification error


ActionController::UrlGenerationError in UserAssets#new

Showing /Users/leonardbogdonoff/Spaceship/milk-video/app/app/views/notifications/_notification.html.erb where line #2 raised:
No route matches {:action=>"show", :controller=>"accounts", :id=>nil}, missing required keys: [:id]
Extracted source (around line #16):
14
15
16
17
18
19
               | 
  def url
    account_path(params[:account])
  end

  def user


Trace of template inclusion: #<ActionView::Template app/views/shared/_notifications.html.erb locals=[]>, #<ActionView::Template app/views/shared/_navbar.html.erb locals=[]>, #<ActionView::Template app/views/layouts/application.html.erb locals=[]>
Rails.root: /Users/leonardbogdonoff/Spaceship/milk-video/app

Request
Leonard Bogdonoff
This is what it looks like in the console:

03:46:15 web.1     | Started POST "/users?invite=ctG4ZsozXR4SwKSVkgzzUk7A" for ::1 at 2020-08-13 03:46:15 -0400
03:46:15 web.1     | Processing by Users::RegistrationsController#create as JS
03:46:15 web.1     |   Parameters: {"authenticity_token"=>"eLl/l/3nvn+yKHHCJfrWIh/GP6Kx3ABmUD/TpZdm0ZxJhPDuN9Q1n/bX3ubB3PbREkhVlLldhiTXmhHfLI+EmA==", "user"=>{"name"=>"[FILTERED]", "email"=>"[FILTERED]", "password"=>"[FILTERED]", "time_zone"=>"Eastern Time (US & Canada)"}, "nczxoeyf-uj"=>"", "button"=>"", "invite"=>"ctG4ZsozXR4SwKSVkgzzUk7A"}
03:46:15 web.1     |   AccountInvitation Load (0.3ms)  SELECT "account_invitations".* FROM "account_invitations" WHERE "account_invitations"."token" = $1 LIMIT $2  [["token", "ctG4ZsozXR4SwKSVkgzzUk7A"], ["LIMIT", 1]]
03:46:15 web.1     |   ↳ app/controllers/users/registrations_controller.rb:14:in `build_resource'
03:46:15 web.1     |    (0.1ms)  BEGIN
03:46:15 web.1     |   User Exists? (0.5ms)  SELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "asdfadf@asdfa.dfadfa"], ["LIMIT", 1]]
03:46:15 web.1     |   User Create (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "confirmed_at", "first_name", "last_name", "time_zone", "accepted_terms_at", "accepted_privacy_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"  [["email", "asdfadf@asdfa.dfadfa"], ["encrypted_password", "$2a$11$qlkWjLXa4fcLTXE049D3ROUgjlh5rvdesZ7tr1k90PVKWdjsDICKq"], ["confirmed_at", "2020-08-13 07:46:15.420800"], ["first_name", "asdfasdf"], ["last_name", "asdf asdf"], ["time_zone", "Eastern Time (US & Canada)"], ["accepted_terms_at", "2020-08-13 07:46:15.420415"], ["accepted_privacy_at", "2020-08-13 07:46:15.420468"], ["created_at", "2020-08-13 07:46:15.420608"], ["updated_at", "2020-08-13 07:46:15.420608"]]
03:46:15 web.1     |   Account Exists? (0.7ms)  SELECT 1 AS one FROM "accounts" INNER JOIN "account_users" ON "accounts"."id" = "account_users"."account_id" WHERE "account_users"."user_id" = $1 LIMIT $2  [["user_id", 23], ["LIMIT", 1]]
03:46:15 web.1     |   ↳ app/models/concerns/user_accounts.rb:22:in `create_default_account'
03:46:15 web.1     |   AccountUser Exists? (0.4ms)  SELECT 1 AS one FROM "account_users" WHERE "account_users"."user_id" = $1 AND "account_users"."account_id" IS NULL LIMIT $2  [["user_id", 23], ["LIMIT", 1]]
03:46:15 web.1     |   ↳ app/models/concerns/user_accounts.rb:26:in `create_default_account'
03:46:15 web.1     |   Account Create (0.7ms)  INSERT INTO "accounts" ("name", "owner_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["name", "asdfasdf asdf asdf"], ["owner_id", 23], ["created_at", "2020-08-13 07:46:15.430307"], ["updated_at", "2020-08-13 07:46:15.430307"]]
03:46:15 web.1     |   ↳ app/models/concerns/user_accounts.rb:26:in `create_default_account'
03:46:15 web.1     |   PaperTrail::Version Create (0.4ms)  INSERT INTO "versions" ("item_type", "item_id", "event", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["item_type", "Account"], ["item_id", 26], ["event", "create"], ["created_at", "2020-08-13 07:46:15.430307"]]
03:46:15 web.1     |   ↳ app/models/concerns/user_accounts.rb:26:in `create_default_account'
03:46:15 web.1     |   AccountUser Exists? (0.5ms)  SELECT 1 AS one FROM "account_users" WHERE "account_users"."user_id" = $1 AND "account_users"."account_id" = $2 LIMIT $3  [["user_id", 23], ["account_id", 26], ["LIMIT", 1]]
03:46:15 web.1     |   ↳ app/models/concerns/user_accounts.rb:26:in `create_default_account'
03:46:15 web.1     |   AccountUser Create (1.2ms)  INSERT INTO "account_users" ("account_id", "user_id", "roles", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["account_id", 26], ["user_id", 23], ["roles", "{\"admin\":true}"], ["created_at", "2020-08-13 07:46:15.438095"], ["updated_at", "2020-08-13 07:46:15.438095"]]
03:46:15 web.1     |   ↳ app/models/concerns/user_accounts.rb:26:in `create_default_account'
03:46:15 web.1     |    (0.7ms)  COMMIT
03:46:15 web.1     |   AccountInvitation Load (0.3ms)  SELECT "account_invitations".* FROM "account_invitations" WHERE "account_invitations"."token" = $1 LIMIT $2  [["token", "ctG4ZsozXR4SwKSVkgzzUk7A"], ["LIMIT", 1]]
03:46:15 web.1     |   ↳ app/controllers/users/registrations_controller.rb:34:in `sign_up'
03:46:15 web.1     |   Account Load (0.4ms)  SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = $1 LIMIT $2  [["id", 4], ["LIMIT", 1]]
03:46:15 web.1     |   ↳ app/models/account_invitation.rb:51:in `accept!'
03:46:15 web.1     |   AccountUser Exists? (0.6ms)  SELECT 1 AS one FROM "account_users" WHERE "account_users"."user_id" = $1 AND "account_users"."account_id" = $2 LIMIT $3  [["user_id", 23], ["account_id", 4], ["LIMIT", 1]]
03:46:15 web.1     |   ↳ app/models/account_invitation.rb:52:in `accept!'
03:46:15 web.1     |   CACHE AccountUser Exists? (0.0ms)  SELECT 1 AS one FROM "account_users" WHERE "account_users"."user_id" = $1 AND "account_users"."account_id" = $2 LIMIT $3  [["user_id", 23], ["account_id", 4], ["LIMIT", 1]]
03:46:15 web.1     |   ↳ app/models/account_invitation.rb:54:in `block in accept!'
03:46:15 web.1     |    (0.3ms)  BEGIN
03:46:15 web.1     |   ↳ app/models/account_invitation.rb:54:in `block in accept!'
03:46:15 web.1     |   AccountUser Create (1.4ms)  INSERT INTO "account_users" ("account_id", "user_id", "roles", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["account_id", 4], ["user_id", 23], ["roles", "{\"admin\":false,\"member\":true}"], ["created_at", "2020-08-13 07:46:15.474268"], ["updated_at", "2020-08-13 07:46:15.474268"]]
03:46:15 web.1     |   ↳ app/models/account_invitation.rb:54:in `block in accept!'
03:46:15 web.1     |   PaperTrail::Version Create (4.9ms)  INSERT INTO "versions" ("item_type", "item_id", "event", "object", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["item_type", "AccountInvitation"], ["item_id", 4], ["event", "destroy"], ["object", "---\nid: 4\naccount_id: 4\ninvited_by_id: 22\ntoken: ctG4ZsozXR4SwKSVkgzzUk7A\nname: test set\nemail: setsetset@asdfadf.eadf\nroles: '{\"admin\":false,\"member\":true}'\ncreated_at: 2020-08-13 07:46:01.050697000 Z\nupdated_at: 2020-08-13 07:46:01.050697000 Z\n"], ["created_at", "2020-08-13 07:46:15.481035"]]
03:46:15 web.1     |   ↳ app/models/account_invitation.rb:55:in `block in accept!'
03:46:15 worker.1  | 2020-08-13T07:46:15.522Z pid=25262 tid=4nde class=Noticed::DeliveryMethods::ActionCable jid=5cfa579b938b1b3884625b0f INFO: start
03:46:15 web.1     |   AccountInvitation Destroy (2.4ms)  DELETE FROM "account_invitations" WHERE "account_invitations"."id" = $1  [["id", 4]]
03:46:15 worker.1  | 2020-08-13T07:46:15.539Z pid=25262 tid=4ny6 class=Noticed::DeliveryMethods::ActionCable jid=b1569805d580a540d6fb4730 INFO: start
03:46:15 web.1     |   ↳ app/models/account_invitation.rb:55:in `block in accept!'
03:46:15 web.1     |    (2.5ms)  COMMIT
03:46:15 web.1     |   ↳ app/models/account_invitation.rb:53:in `accept!'
03:46:15 web.1     |   User Load (1.5ms)  SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
03:46:15 web.1     |   ↳ app/models/account_invitation.rb:58:in `accept!'
03:46:15 web.1     |   User Load (0.6ms)  SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 22], ["LIMIT", 1]]
03:46:15 web.1     |   ↳ app/models/account_invitation.rb:58:in `accept!'
03:46:15 web.1     | [ActiveJob] [Noticed::DeliveryMethods::Database] [808802e7-f6cc-4a15-82ef-9c2907080cd5] Performing Noticed::DeliveryMethods::Database (Job ID: 808802e7-f6cc-4a15-82ef-9c2907080cd5) from Sidekiq(default) enqueued at  with arguments: {:notification_class=>"AcceptedInvite", :options=>{:format=>:to_database}, :params=>{:account=>#<GlobalID:0x00007fe3c0c16550 @uri=#<URI::GID gid://jumpstart-app/Account/4>>, :user=>#<GlobalID:0x00007fe3c0c15e70 @uri=#<URI::GID gid://jumpstart-app/User/23>>}, :recipient=>#<GlobalID:0x00007fe3c0c15790 @uri=#<URI::GID gid://jumpstart-app/User/1>>, :record=>nil}
03:46:15 web.1     | [ActiveJob] [Noticed::DeliveryMethods::Database] [808802e7-f6cc-4a15-82ef-9c2907080cd5]   User Load (0.3ms)  SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 23], ["LIMIT", 1]]
03:46:15 web.1     | [ActiveJob] [Noticed::DeliveryMethods::Database] [808802e7-f6cc-4a15-82ef-9c2907080cd5]   ↳ app/models/account_invitation.rb:59:in `block in accept!'
03:46:15 web.1     | [ActiveJob] [Noticed::DeliveryMethods::Database] [808802e7-f6cc-4a15-82ef-9c2907080cd5]    (0.2ms)  BEGIN
03:46:15 web.1     | [ActiveJob] [Noticed::DeliveryMethods::Database] [808802e7-f6cc-4a15-82ef-9c2907080cd5]   ↳ app/models/account_invitation.rb:59:in `block in accept!'
03:46:15 web.1     | [ActiveJob] [Noticed::DeliveryMethods::Database] [808802e7-f6cc-4a15-82ef-9c2907080cd5]   Notification Create (0.5ms)  INSERT INTO "notifications" ("account_id", "recipient_type", "recipient_id", "type", "params", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["account_id", 4], ["recipient_type", "User"], ["recipient_id", 1], ["type", "AcceptedInvite"], ["params", "\"{\\\"user\\\":{\\\"_aj_globalid\\\":\\\"gid://jumpstart-app/User/23\\\"},\\\"_aj_symbol_keys\\\":[\\\"user\\\"]}\""], ["created_at", "2020-08-13 07:46:15.516364"], ["updated_at", "2020-08-13 07:46:15.516364"]]
03:46:15 web.1     | [ActiveJob] [Noticed::DeliveryMethods::Database] [808802e7-f6cc-4a15-82ef-9c2907080cd5]   ↳ app/models/account_invitation.rb:59:in `block in accept!'
03:46:15 web.1     | [ActiveJob] [Noticed::DeliveryMethods::Database] [808802e7-f6cc-4a15-82ef-9c2907080cd5]    (0.5ms)  COMMIT
03:46:15 web.1     | [ActiveJob] [Noticed::DeliveryMethods::Database] [808802e7-f6cc-4a15-82ef-9c2907080cd5]   ↳ app/models/account_invitation.rb:59:in `block in accept!'
03:46:15 web.1     | [ActiveJob] [Noticed::DeliveryMethods::Database] [808802e7-f6cc-4a15-82ef-9c2907080cd5] Performed Noticed::DeliveryMethods::Database (Job ID: 808802e7-f6cc-4a15-82ef-9c2907080cd5) from Sidekiq(default) in 18.29ms
03:46:15 web.1     | [ActiveJob] Enqueued Noticed::DeliveryMethods::ActionCable (Job ID: 34a15b46-6b32-4346-8718-992993d00a5f) to Sidekiq(default) with arguments: {:notification_class=>"AcceptedInvite", :options=>{:format=>:to_websocket, :channel=>"NotificationChannel"}, :params=>{:user=>#<GlobalID:0x00007fe3e61ea6a0 @uri=#<URI::GID gid://jumpstart-app/User/23>>}, :recipient=>#<GlobalID:0x00007fe3e61e9fe8 @uri=#<URI::GID gid://jumpstart-app/User/1>>, :record=>#<GlobalID:0x00007fe3e61e98e0 @uri=#<URI::GID gid://jumpstart-app/Notification/2>>}
03:46:15 web.1     | [ActiveJob] [Noticed::DeliveryMethods::Database] [f5d102a9-1d57-4f60-bfd0-14a3a56311cb] Performing Noticed::DeliveryMethods::Database (Job ID: f5d102a9-1d57-4f60-bfd0-14a3a56311cb) from Sidekiq(default) enqueued at  with arguments: {:notification_class=>"AcceptedInvite", :options=>{:format=>:to_database}, :params=>{:account=>#<GlobalID:0x00007fe3e61d9e68 @uri=#<URI::GID gid://jumpstart-app/Account/4>>, :user=>#<GlobalID:0x00007fe3e61d9788 @uri=#<URI::GID gid://jumpstart-app/User/23>>}, :recipient=>#<GlobalID:0x00007fe3e61d90d0 @uri=#<URI::GID gid://jumpstart-app/User/22>>, :record=>nil}
03:46:15 web.1     | [ActiveJob] [Noticed::DeliveryMethods::Database] [f5d102a9-1d57-4f60-bfd0-14a3a56311cb]   User Load (1.3ms)  SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 23], ["LIMIT", 1]]
03:46:15 web.1     | [ActiveJob] [Noticed::DeliveryMethods::Database] [f5d102a9-1d57-4f60-bfd0-14a3a56311cb]   ↳ app/models/account_invitation.rb:59:in `block in accept!'
03:46:15 web.1     | [ActiveJob] [Noticed::DeliveryMethods::Database] [f5d102a9-1d57-4f60-bfd0-14a3a56311cb]    (0.2ms)  BEGIN
03:46:15 web.1     | [ActiveJob] [Noticed::DeliveryMethods::Database] [f5d102a9-1d57-4f60-bfd0-14a3a56311cb]   ↳ app/models/account_invitation.rb:59:in `block in accept!'
03:46:15 web.1     | [ActiveJob] [Noticed::DeliveryMethods::Database] [f5d102a9-1d57-4f60-bfd0-14a3a56311cb]   Notification Create (0.5ms)  INSERT INTO "notifications" ("account_id", "recipient_type", "recipient_id", "type", "params", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["account_id", 4], ["recipient_type", "User"], ["recipient_id", 22], ["type", "AcceptedInvite"], ["params", "\"{\\\"user\\\":{\\\"_aj_globalid\\\":\\\"gid://jumpstart-app/User/23\\\"},\\\"_aj_symbol_keys\\\":[\\\"user\\\"]}\""], ["created_at", "2020-08-13 07:46:15.530366"], ["updated_at", "2020-08-13 07:46:15.530366"]]
03:46:15 web.1     | [ActiveJob] [Noticed::DeliveryMethods::Database] [f5d102a9-1d57-4f60-bfd0-14a3a56311cb]   ↳ app/models/account_invitation.rb:59:in `block in accept!'
03:46:15 web.1     | [ActiveJob] [Noticed::DeliveryMethods::Database] [f5d102a9-1d57-4f60-bfd0-14a3a56311cb]    (0.5ms)  COMMIT
03:46:15 web.1     | [ActiveJob] [Noticed::DeliveryMethods::Database] [f5d102a9-1d57-4f60-bfd0-14a3a56311cb]   ↳ app/models/account_invitation.rb:59:in `block in accept!'
03:46:15 web.1     | [ActiveJob] [Noticed::DeliveryMethods::Database] [f5d102a9-1d57-4f60-bfd0-14a3a56311cb] Performed Noticed::DeliveryMethods::Database (Job ID: f5d102a9-1d57-4f60-bfd0-14a3a56311cb) from Sidekiq(default) in 14.22ms
03:46:15 web.1     | [ActiveJob] Enqueued Noticed::DeliveryMethods::ActionCable (Job ID: f474aee0-1019-4a67-a699-943b436d4f8b) to Sidekiq(default) with arguments: {:notification_class=>"AcceptedInvite", :options=>{:format=>:to_websocket, :channel=>"NotificationChannel"}, :params=>{:user=>#<GlobalID:0x00007fe3c0b9d290 @uri=#<URI::GID gid://jumpstart-app/User/23>>}, :recipient=>#<GlobalID:0x00007fe3c0b9cc78 @uri=#<URI::GID gid://jumpstart-app/User/22>>, :record=>#<GlobalID:0x00007fe3c0b9c520 @uri=#<URI::GID gid://jumpstart-app/Notification/3>>}
03:46:15 worker.1  | 2020-08-13T07:46:15.568Z pid=25262 tid=4nde class=Noticed::DeliveryMethods::ActionCable jid=5cfa579b938b1b3884625b0f elapsed=0.046 INFO: fail
03:46:15 web.1     | Redirected to http://localhost:5000/
03:46:15 web.1     | Completed 200 OK in 359ms (ActiveRecord: 25.3ms | Allocations: 53571)
03:46:15 web.1     |
03:46:15 web.1     |
03:46:15 worker.1  | 2020-08-13T07:46:15.568Z pid=25262 tid=4nde WARN: {"context":"Job raised exception","job":{"retry":true,"queue":"default","class":"ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper","wrapped":"Noticed::DeliveryMethods::ActionCable","args":[{"job_class":"Noticed::DeliveryMethods::ActionCable","job_id":"34a15b46-6b32-4346-8718-992993d00a5f","provider_job_id":null,"queue_name":"default","priority":null,"arguments":[{"notification_class":"AcceptedInvite","options":{"format":{"_aj_serialized":"ActiveJob::Serializers::SymbolSerializer","value":"to_websocket"},"channel":"NotificationChannel","_aj_symbol_keys":["format","channel"]},"params":{"user":{"_aj_globalid":"gid://jumpstart-app/User/23"},"_aj_symbol_keys":["user"]},"recipient":{"_aj_globalid":"gid://jumpstart-app/User/1"},"record":{"_aj_globalid":"gid://jumpstart-app/Notification/2"},"_aj_symbol_keys":["notification_class","options","params","recipient","record"]}],"executions":0,"exception_executions":{},"locale":"en","timezone":"UTC","enqueued_at":"2020-08-13T07:46:15Z"}],"jid":"5cfa579b938b1b3884625b0f","created_at":1597304775.522298,"enqueued_at":1597304775.522334},"jobstr":"{\"retry\":true,\"queue\":\"default\",\"class\":\"ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper\",\"wrapped\":\"Noticed::DeliveryMethods::ActionCable\",\"args\":[{\"job_class\":\"Noticed::DeliveryMethods::ActionCable\",\"job_id\":\"34a15b46-6b32-4346-8718-992993d00a5f\",\"provider_job_id\":null,\"queue_name\":\"default\",\"priority\":null,\"arguments\":[{\"notification_class\":\"AcceptedInvite\",\"options\":{\"format\":{\"_aj_serialized\":\"ActiveJob::Serializers::SymbolSerializer\",\"value\":\"to_websocket\"},\"channel\":\"NotificationChannel\",\"_aj_symbol_keys\":[\"format\",\"channel\"]},\"params\":{\"user\":{\"_aj_globalid\":\"gid://jumpstart-app/User/23\"},\"_aj_symbol_keys\":[\"user\"]},\"recipient\":{\"_aj_globalid\":\"gid://jumpstart-app/User/1\"},\"record\":{\"_aj_globalid\":\"gid://jumpstart-app/Notification/2\"},\"_aj_symbol_keys\":[\"notification_class\",\"options\",\"params\",\"recipient\",\"record\"]}],\"executions\":0,\"exception_executions\":{},\"locale\":\"en\",\"timezone\":\"UTC\",\"enqueued_at\":\"2020-08-13T07:46:15Z\"}],\"jid\":\"5cfa579b938b1b3884625b0f\",\"created_at\":1597304775.522298,\"enqueued_at\":1597304775.522334}"}
03:46:15 worker.1  | 2020-08-13T07:46:15.568Z pid=25262 tid=4nde WARN: ActionView::Template::Error: No route matches {:action=>"show", :controller=>"accounts", :id=>nil}, missing required keys: [:id]
03:46:15 worker.1  | 2020-08-13T07:46:15.569Z pid=25262 tid=4nde WARN: /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.0.3.2/lib/action_dispatch/routing/route_set.rb:248:in `raise_generation_error'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.0.3.2/lib/action_dispatch/routing/route_set.rb:218:in `block in optimized_helper'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.0.3.2/lib/action_dispatch/routing/route_set.rb:233:in `block in parameterize_args'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.0.3.2/lib/action_dispatch/routing/route_set.rb:230:in `times'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.0.3.2/lib/action_dispatch/routing/route_set.rb:230:in `parameterize_args'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.0.3.2/lib/action_dispatch/routing/route_set.rb:217:in `optimized_helper'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.0.3.2/lib/action_dispatch/routing/route_set.rb:198:in `call'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.0.3.2/lib/action_dispatch/routing/route_set.rb:326:in `block in define_url_helper'
03:46:15 worker.1  | /Users/leonardbogdonoff/Spaceship/milk-video/app/app/notifications/accepted_invite.rb:16:in `url'
03:46:15 worker.1  | /Users/leonardbogdonoff/Spaceship/milk-video/app/app/views/notifications/_notification.html.erb:2:in `_app_views_notifications__notification_html_erb__4194450245328822775_82560'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.0.3.2/lib/action_view/base.rb:274:in `_run'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.0.3.2/lib/action_view/template.rb:185:in `block in render'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/notifications.rb:182:in `instrument'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.0.3.2/lib/action_view/template.rb:385:in `instrument_render_template'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.0.3.2/lib/action_view/template.rb:183:in `render'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.0.3.2/lib/action_view/renderer/partial_renderer.rb:357:in `block in render_partial'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.0.3.2/lib/action_view/renderer/abstract_renderer.rb:88:in `block in instrument'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/notifications.rb:180:in `block in instrument'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/notifications.rb:180:in `instrument'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.0.3.2/lib/action_view/renderer/abstract_renderer.rb:87:in `instrument'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.0.3.2/lib/action_view/renderer/partial_renderer.rb:346:in `render_partial'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.0.3.2/lib/action_view/renderer/partial_renderer.rb:317:in `render'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.0.3.2/lib/action_view/renderer/renderer.rb:65:in `render_partial_to_object'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.0.3.2/lib/action_view/renderer/renderer.rb:27:in `render_to_object'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.0.3.2/lib/action_view/rendering.rb:117:in `block in _render_template'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.0.3.2/lib/action_view/base.rb:304:in `in_rendering_context'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.0.3.2/lib/action_view/rendering.rb:116:in `_render_template'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.0.3.2/lib/action_controller/metal/streaming.rb:218:in `_render_template'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.0.3.2/lib/action_view/rendering.rb:103:in `render_to_body'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.0.3.2/lib/action_controller/metal/rendering.rb:52:in `render_to_body'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.0.3.2/lib/action_controller/metal/renderers.rb:142:in `render_to_body'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.0.3.2/lib/abstract_controller/rendering.rb:46:in `render_to_string'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.0.3.2/lib/action_controller/metal/rendering.rb:41:in `render_to_string'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.0.3.2/lib/action_controller/renderer.rb:96:in `render'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.0.3.2/lib/action_controller/metal/rendering.rb:11:in `render'
03:46:15 worker.1  | /Users/leonardbogdonoff/Spaceship/milk-video/app/app/notifications/accepted_invite.rb:7:in `to_websocket'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/noticed-1.2.8/lib/noticed/delivery_methods/action_cable.rb:12:in `format'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/noticed-1.2.8/lib/noticed/delivery_methods/action_cable.rb:5:in `deliver'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/noticed-1.2.8/lib/noticed/delivery_methods/base.rb:20:in `block in perform'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/callbacks.rb:101:in `run_callbacks'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/noticed-1.2.8/lib/noticed/delivery_methods/base.rb:19:in `perform'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activejob-6.0.3.2/lib/active_job/execution.rb:40:in `block in perform_now'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/callbacks.rb:112:in `block in run_callbacks'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sentry-raven-3.0.0/lib/raven/integrations/rails/active_job.rb:13:in `block (2 levels) in included'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/callbacks.rb:121:in `instance_exec'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/i18n-1.8.5/lib/i18n.rb:313:in `with_locale'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activejob-6.0.3.2/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/callbacks.rb:121:in `instance_exec'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/core_ext/time/zones.rb:66:in `use_zone'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activejob-6.0.3.2/lib/active_job/timezones.rb:9:in `block (2 levels) in <module:Timezones>'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/callbacks.rb:121:in `instance_exec'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activejob-6.0.3.2/lib/active_job/logging.rb:25:in `block (4 levels) in <module:Logging>'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/notifications.rb:180:in `block in instrument'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/notifications.rb:180:in `instrument'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activejob-6.0.3.2/lib/active_job/logging.rb:24:in `block (3 levels) in <module:Logging>'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activejob-6.0.3.2/lib/active_job/logging.rb:45:in `block in tag_logger'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/tagged_logging.rb:80:in `block in tagged'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/tagged_logging.rb:28:in `tagged'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/tagged_logging.rb:80:in `tagged'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activejob-6.0.3.2/lib/active_job/logging.rb:45:in `tag_logger'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activejob-6.0.3.2/lib/active_job/logging.rb:21:in `block (2 levels) in <module:Logging>'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/callbacks.rb:121:in `instance_exec'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/callbacks.rb:139:in `run_callbacks'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activejob-6.0.3.2/lib/active_job/execution.rb:39:in `perform_now'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activejob-6.0.3.2/lib/active_job/execution.rb:25:in `block in execute'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/callbacks.rb:112:in `block in run_callbacks'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activejob-6.0.3.2/lib/active_job/railtie.rb:43:in `block (4 levels) in <class:Railtie>'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/execution_wrapper.rb:88:in `wrap'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/reloader.rb:72:in `block in wrap'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/execution_wrapper.rb:84:in `wrap'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/reloader.rb:71:in `wrap'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activejob-6.0.3.2/lib/active_job/railtie.rb:42:in `block (3 levels) in <class:Railtie>'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/callbacks.rb:121:in `instance_exec'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/callbacks.rb:139:in `run_callbacks'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activejob-6.0.3.2/lib/active_job/execution.rb:23:in `execute'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activejob-6.0.3.2/lib/active_job/queue_adapters/sidekiq_adapter.rb:42:in `perform'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/processor.rb:196:in `execute_job'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/processor.rb:164:in `block (2 levels) in process'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/middleware/chain.rb:138:in `block in invoke'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sentry-raven-3.0.0/lib/raven/integrations/sidekiq.rb:9:in `call'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/middleware/chain.rb:140:in `block in invoke'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/middleware/chain.rb:143:in `invoke'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/processor.rb:163:in `block in process'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/processor.rb:136:in `block (6 levels) in dispatch'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/job_retry.rb:111:in `local'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/processor.rb:135:in `block (5 levels) in dispatch'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/rails.rb:14:in `block in call'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/execution_wrapper.rb:88:in `wrap'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/reloader.rb:72:in `block in wrap'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/execution_wrapper.rb:88:in `wrap'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/reloader.rb:71:in `wrap'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/rails.rb:13:in `call'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/processor.rb:131:in `block (4 levels) in dispatch'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/processor.rb:257:in `stats'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/processor.rb:126:in `block (3 levels) in dispatch'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/job_logger.rb:13:in `call'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/processor.rb:125:in `block (2 levels) in dispatch'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/job_retry.rb:78:in `global'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/processor.rb:124:in `block in dispatch'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/logger.rb:10:in `with'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/job_logger.rb:33:in `prepare'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/processor.rb:123:in `dispatch'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/processor.rb:162:in `process'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/processor.rb:78:in `process_one'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/processor.rb:68:in `run'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/util.rb:15:in `watchdog'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/util.rb:24:in `block in safe_thread'
03:46:15 web.1     | Started GET "/" for ::1 at 2020-08-13 03:46:15 -0400
03:46:15 web.1     |   User Load (0.8ms)  SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 23], ["LIMIT", 1]]
03:46:15 web.1     | Processing by UserAssetsController#new as HTML
03:46:15 web.1     |   Account Load (0.5ms)  SELECT "accounts".* FROM "accounts" INNER JOIN "account_users" ON "accounts"."id" = "account_users"."account_id" WHERE "account_users"."user_id" = $1 AND "accounts"."id" IS NULL LIMIT $2  [["user_id", 23], ["LIMIT", 1]]
03:46:15 web.1     |   ↳ app/controllers/concerns/set_current_request_details.rb:24:in `block (2 levels) in <module:SetCurrentRequestDetails>'
03:46:15 web.1     |   Account Load (0.8ms)  SELECT "accounts".* FROM "accounts" INNER JOIN "account_users" ON "accounts"."id" = "account_users"."account_id" WHERE "account_users"."user_id" = $1 ORDER BY "accounts"."created_at" ASC LIMIT $2  [["user_id", 23], ["LIMIT", 1]]
03:46:15 web.1     |   ↳ app/controllers/concerns/set_current_request_details.rb:29:in `block (2 levels) in <module:SetCurrentRequestDetails>'
03:46:15 web.1     |   Rendering user_assets/new.html.erb within layouts/application
03:46:15 web.1     |   Rendered shared/_error_messages.html.erb (Duration: 0.1ms | Allocations: 15)
03:46:15 web.1     |   Rendered user_assets/new.html.erb within layouts/application (Duration: 2.8ms | Allocations: 840)
03:46:15 web.1     |   Rendered shared/_favicons.html.erb (Duration: 0.1ms | Allocations: 5)
03:46:15 web.1     |   Rendered shared/_payments_dependencies.html.erb (Duration: 0.1ms | Allocations: 13)
03:46:15 web.1     |   Rendered shared/_flash.html.erb (Duration: 0.2ms | Allocations: 31)
03:46:15 web.1     |   Rendered shared/_left_nav.html.erb (Duration: 0.3ms | Allocations: 104)
03:46:15 web.1     |   Notification Load (0.3ms)  SELECT "notifications".* FROM "notifications" WHERE "notifications"."recipient_id" = $1 AND "notifications"."recipient_type" = $2 AND "notifications"."account_id" = $3 ORDER BY "notifications"."created_at" DESC LIMIT $4  [["recipient_id", 23], ["recipient_type", "User"], ["account_id", 4], ["LIMIT", 10]]
03:46:15 web.1     |   ↳ app/views/shared/_notifications.html.erb:20
03:46:15 web.1     |   Rendered collection of notifications/_notification.html.erb [0 times] (Duration: 0.0ms | Allocations: 3)
03:46:15 web.1     |   Rendered shared/_notifications.html.erb (Duration: 2.4ms | Allocations: 1054)
03:46:15 web.1     |   ActiveStorage::Attachment Load (0.2ms)  SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = $1 AND "active_storage_attachments"."record_type" = $2 AND "active_storage_attachments"."name" = $3 LIMIT $4  [["record_id", 4], ["record_type", "Account"], ["name", "avatar"], ["LIMIT", 1]]
03:46:15 worker.1  | 2020-08-13T07:46:15.627Z pid=25262 tid=4ny6 class=Noticed::DeliveryMethods::ActionCable jid=b1569805d580a540d6fb4730 elapsed=0.087 INFO: fail
03:46:15 worker.1  | 2020-08-13T07:46:15.627Z pid=25262 tid=4ny6 WARN: {"context":"Job raised exception","job":{"retry":true,"queue":"default","class":"ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper","wrapped":"Noticed::DeliveryMethods::ActionCable","args":[{"job_class":"Noticed::DeliveryMethods::ActionCable","job_id":"f474aee0-1019-4a67-a699-943b436d4f8b","provider_job_id":null,"queue_name":"default","priority":null,"arguments":[{"notification_class":"AcceptedInvite","options":{"format":{"_aj_serialized":"ActiveJob::Serializers::SymbolSerializer","value":"to_websocket"},"channel":"NotificationChannel","_aj_symbol_keys":["format","channel"]},"params":{"user":{"_aj_globalid":"gid://jumpstart-app/User/23"},"_aj_symbol_keys":["user"]},"recipient":{"_aj_globalid":"gid://jumpstart-app/User/22"},"record":{"_aj_globalid":"gid://jumpstart-app/Notification/3"},"_aj_symbol_keys":["notification_class","options","params","recipient","record"]}],"executions":0,"exception_executions":{},"locale":"en","timezone":"UTC","enqueued_at":"2020-08-13T07:46:15Z"}],"jid":"b1569805d580a540d6fb4730","created_at":1597304775.539308,"enqueued_at":1597304775.539345},"jobstr":"{\"retry\":true,\"queue\":\"default\",\"class\":\"ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper\",\"wrapped\":\"Noticed::DeliveryMethods::ActionCable\",\"args\":[{\"job_class\":\"Noticed::DeliveryMethods::ActionCable\",\"job_id\":\"f474aee0-1019-4a67-a699-943b436d4f8b\",\"provider_job_id\":null,\"queue_name\":\"default\",\"priority\":null,\"arguments\":[{\"notification_class\":\"AcceptedInvite\",\"options\":{\"format\":{\"_aj_serialized\":\"ActiveJob::Serializers::SymbolSerializer\",\"value\":\"to_websocket\"},\"channel\":\"NotificationChannel\",\"_aj_symbol_keys\":[\"format\",\"channel\"]},\"params\":{\"user\":{\"_aj_globalid\":\"gid://jumpstart-app/User/23\"},\"_aj_symbol_keys\":[\"user\"]},\"recipient\":{\"_aj_globalid\":\"gid://jumpstart-app/User/22\"},\"record\":{\"_aj_globalid\":\"gid://jumpstart-app/Notification/3\"},\"_aj_symbol_keys\":[\"notification_class\",\"options\",\"params\",\"recipient\",\"record\"]}],\"executions\":0,\"exception_executions\":{},\"locale\":\"en\",\"timezone\":\"UTC\",\"enqueued_at\":\"2020-08-13T07:46:15Z\"}],\"jid\":\"b1569805d580a540d6fb4730\",\"created_at\":1597304775.539308,\"enqueued_at\":1597304775.539345}"}
03:46:15 web.1     |   ↳ app/helpers/accounts_helper.rb:9:in `account_avatar'
03:46:15 worker.1  | 2020-08-13T07:46:15.627Z pid=25262 tid=4ny6 WARN: ActionView::Template::Error: No route matches {:action=>"show", :controller=>"accounts", :id=>nil}, missing required keys: [:id]
03:46:15 worker.1  | 2020-08-13T07:46:15.627Z pid=25262 tid=4ny6 WARN: /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.0.3.2/lib/action_dispatch/routing/route_set.rb:248:in `raise_generation_error'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.0.3.2/lib/action_dispatch/routing/route_set.rb:218:in `block in optimized_helper'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.0.3.2/lib/action_dispatch/routing/route_set.rb:233:in `block in parameterize_args'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.0.3.2/lib/action_dispatch/routing/route_set.rb:230:in `times'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.0.3.2/lib/action_dispatch/routing/route_set.rb:230:in `parameterize_args'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.0.3.2/lib/action_dispatch/routing/route_set.rb:217:in `optimized_helper'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.0.3.2/lib/action_dispatch/routing/route_set.rb:198:in `call'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.0.3.2/lib/action_dispatch/routing/route_set.rb:326:in `block in define_url_helper'
03:46:15 worker.1  | /Users/leonardbogdonoff/Spaceship/milk-video/app/app/notifications/accepted_invite.rb:16:in `url'
03:46:15 worker.1  | /Users/leonardbogdonoff/Spaceship/milk-video/app/app/views/notifications/_notification.html.erb:2:in `_app_views_notifications__notification_html_erb__4194450245328822775_82560'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.0.3.2/lib/action_view/base.rb:274:in `_run'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.0.3.2/lib/action_view/template.rb:185:in `block in render'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/notifications.rb:182:in `instrument'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.0.3.2/lib/action_view/template.rb:385:in `instrument_render_template'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.0.3.2/lib/action_view/template.rb:183:in `render'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.0.3.2/lib/action_view/renderer/partial_renderer.rb:357:in `block in render_partial'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.0.3.2/lib/action_view/renderer/abstract_renderer.rb:88:in `block in instrument'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/notifications.rb:180:in `block in instrument'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/notifications.rb:180:in `instrument'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.0.3.2/lib/action_view/renderer/abstract_renderer.rb:87:in `instrument'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.0.3.2/lib/action_view/renderer/partial_renderer.rb:346:in `render_partial'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.0.3.2/lib/action_view/renderer/partial_renderer.rb:317:in `render'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.0.3.2/lib/action_view/renderer/renderer.rb:65:in `render_partial_to_object'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.0.3.2/lib/action_view/renderer/renderer.rb:27:in `render_to_object'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.0.3.2/lib/action_view/rendering.rb:117:in `block in _render_template'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.0.3.2/lib/action_view/base.rb:304:in `in_rendering_context'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.0.3.2/lib/action_view/rendering.rb:116:in `_render_template'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.0.3.2/lib/action_controller/metal/streaming.rb:218:in `_render_template'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.0.3.2/lib/action_view/rendering.rb:103:in `render_to_body'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.0.3.2/lib/action_controller/metal/rendering.rb:52:in `render_to_body'
03:46:15 web.1     |   ActiveStorage::Attachment Load (0.3ms)  SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = $1 AND "active_storage_attachments"."record_type" = $2 AND "active_storage_attachments"."name" = $3 LIMIT $4  [["record_id", 23], ["record_type", "User"], ["name", "avatar"], ["LIMIT", 1]]
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.0.3.2/lib/action_controller/metal/renderers.rb:142:in `render_to_body'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.0.3.2/lib/abstract_controller/rendering.rb:46:in `render_to_string'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.0.3.2/lib/action_controller/metal/rendering.rb:41:in `render_to_string'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.0.3.2/lib/action_controller/renderer.rb:96:in `render'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.0.3.2/lib/action_controller/metal/rendering.rb:11:in `render'
03:46:15 worker.1  | /Users/leonardbogdonoff/Spaceship/milk-video/app/app/notifications/accepted_invite.rb:7:in `to_websocket'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/noticed-1.2.8/lib/noticed/delivery_methods/action_cable.rb:12:in `format'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/noticed-1.2.8/lib/noticed/delivery_methods/action_cable.rb:5:in `deliver'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/noticed-1.2.8/lib/noticed/delivery_methods/base.rb:20:in `block in perform'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/callbacks.rb:101:in `run_callbacks'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/noticed-1.2.8/lib/noticed/delivery_methods/base.rb:19:in `perform'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activejob-6.0.3.2/lib/active_job/execution.rb:40:in `block in perform_now'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/callbacks.rb:112:in `block in run_callbacks'
03:46:15 web.1     |   ↳ app/helpers/application_helper.rb:7:in `avatar_url_for'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sentry-raven-3.0.0/lib/raven/integrations/rails/active_job.rb:13:in `block (2 levels) in included'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/callbacks.rb:121:in `instance_exec'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/i18n-1.8.5/lib/i18n.rb:313:in `with_locale'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activejob-6.0.3.2/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/callbacks.rb:121:in `instance_exec'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/core_ext/time/zones.rb:66:in `use_zone'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activejob-6.0.3.2/lib/active_job/timezones.rb:9:in `block (2 levels) in <module:Timezones>'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/callbacks.rb:121:in `instance_exec'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activejob-6.0.3.2/lib/active_job/logging.rb:25:in `block (4 levels) in <module:Logging>'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/notifications.rb:180:in `block in instrument'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/notifications.rb:180:in `instrument'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activejob-6.0.3.2/lib/active_job/logging.rb:24:in `block (3 levels) in <module:Logging>'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activejob-6.0.3.2/lib/active_job/logging.rb:45:in `block in tag_logger'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/tagged_logging.rb:80:in `block in tagged'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/tagged_logging.rb:28:in `tagged'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/tagged_logging.rb:80:in `tagged'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activejob-6.0.3.2/lib/active_job/logging.rb:45:in `tag_logger'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activejob-6.0.3.2/lib/active_job/logging.rb:21:in `block (2 levels) in <module:Logging>'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/callbacks.rb:121:in `instance_exec'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/callbacks.rb:139:in `run_callbacks'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activejob-6.0.3.2/lib/active_job/execution.rb:39:in `perform_now'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activejob-6.0.3.2/lib/active_job/execution.rb:25:in `block in execute'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/callbacks.rb:112:in `block in run_callbacks'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activejob-6.0.3.2/lib/active_job/railtie.rb:43:in `block (4 levels) in <class:Railtie>'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/execution_wrapper.rb:88:in `wrap'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/reloader.rb:72:in `block in wrap'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/execution_wrapper.rb:84:in `wrap'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/reloader.rb:71:in `wrap'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activejob-6.0.3.2/lib/active_job/railtie.rb:42:in `block (3 levels) in <class:Railtie>'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/callbacks.rb:121:in `instance_exec'
03:46:15 web.1     |   Account Load (0.4ms)  SELECT "accounts".* FROM "accounts" INNER JOIN "account_users" ON "accounts"."id" = "account_users"."account_id" WHERE "account_users"."user_id" = $1  [["user_id", 23]]
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/callbacks.rb:139:in `run_callbacks'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activejob-6.0.3.2/lib/active_job/execution.rb:23:in `execute'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activejob-6.0.3.2/lib/active_job/queue_adapters/sidekiq_adapter.rb:42:in `perform'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/processor.rb:196:in `execute_job'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/processor.rb:164:in `block (2 levels) in process'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/middleware/chain.rb:138:in `block in invoke'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sentry-raven-3.0.0/lib/raven/integrations/sidekiq.rb:9:in `call'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/middleware/chain.rb:140:in `block in invoke'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/middleware/chain.rb:143:in `invoke'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/processor.rb:163:in `block in process'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/processor.rb:136:in `block (6 levels) in dispatch'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/job_retry.rb:111:in `local'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/processor.rb:135:in `block (5 levels) in dispatch'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/rails.rb:14:in `block in call'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/execution_wrapper.rb:88:in `wrap'
03:46:15 web.1     |   ↳ app/views/shared/_navbar.html.erb:87
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/reloader.rb:72:in `block in wrap'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/execution_wrapper.rb:88:in `wrap'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/reloader.rb:71:in `wrap'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/rails.rb:13:in `call'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/processor.rb:131:in `block (4 levels) in dispatch'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/processor.rb:257:in `stats'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/processor.rb:126:in `block (3 levels) in dispatch'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/job_logger.rb:13:in `call'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/processor.rb:125:in `block (2 levels) in dispatch'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/job_retry.rb:78:in `global'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/processor.rb:124:in `block in dispatch'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/logger.rb:10:in `with'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/job_logger.rb:33:in `prepare'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/processor.rb:123:in `dispatch'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/processor.rb:162:in `process'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/processor.rb:78:in `process_one'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/processor.rb:68:in `run'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/util.rb:15:in `watchdog'
03:46:15 worker.1  | /Users/leonardbogdonoff/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sidekiq-6.1.1/lib/sidekiq/util.rb:24:in `block in safe_thread'
03:46:15 web.1     |   Rendered shared/_navbar.html.erb (Duration: 13.9ms | Allocations: 4964)
03:46:15 web.1     |   Rendered shared/_footer.html.erb (Duration: 0.2ms | Allocations: 167)
03:46:15 web.1     | Completed 200 OK in 37ms (Views: 26.1ms | ActiveRecord: 2.5ms | Allocations: 11605)
Leonard Bogdonoff
And for the host user, that is stuck, this is the console:

03:47:32 web.1     | Started GET "/accounts/4" for ::1 at 2020-08-13 03:47:32 -0400
03:47:32 web.1     | Processing by AccountsController#show as HTML
03:47:32 web.1     |   Parameters: {"id"=>"4"}
03:47:32 web.1     |   User Load (0.3ms)  SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 22], ["LIMIT", 1]]
03:47:32 web.1     |   Account Load (0.4ms)  SELECT "accounts".* FROM "accounts" INNER JOIN "account_users" ON "accounts"."id" = "account_users"."account_id" WHERE "account_users"."user_id" = $1 AND "accounts"."id" = $2 LIMIT $3  [["user_id", 22], ["id", 4], ["LIMIT", 1]]
03:47:32 web.1     |   ↳ app/controllers/concerns/set_current_request_details.rb:24:in `block (2 levels) in <module:SetCurrentRequestDetails>'
03:47:32 web.1     |   Account Load (0.2ms)  SELECT "accounts".* FROM "accounts" INNER JOIN "account_users" ON "accounts"."id" = "account_users"."account_id" WHERE "account_users"."user_id" = $1 AND "accounts"."id" = $2 LIMIT $3  [["user_id", 22], ["id", 4], ["LIMIT", 1]]
03:47:32 web.1     |   ↳ app/controllers/accounts_controller.rb:75:in `set_account'
03:47:32 web.1     |   Rendering accounts/show.html.erb within layouts/application
03:47:32 web.1     |   Rendered shared/_account_navbar.html.erb (Duration: 0.6ms | Allocations: 287)
03:47:32 web.1     |   ActiveStorage::Attachment Load (0.2ms)  SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = $1 AND "active_storage_attachments"."record_type" = $2 AND "active_storage_attachments"."name" = $3 LIMIT $4  [["record_id", 4], ["record_type", "Account"], ["name", "avatar"], ["LIMIT", 1]]
03:47:32 web.1     |   ↳ app/helpers/accounts_helper.rb:9:in `account_avatar'
03:47:32 web.1     |   AccountUser Load (0.3ms)  SELECT "account_users".* FROM "account_users" WHERE "account_users"."account_id" = $1 AND "account_users"."user_id" = $2 LIMIT $3  [["account_id", 4], ["user_id", 22], ["LIMIT", 1]]
03:47:32 web.1     |   ↳ app/helpers/accounts_helper.rb:37:in `account_admin?'
03:47:32 web.1     |   CACHE AccountUser Load (0.0ms)  SELECT "account_users".* FROM "account_users" WHERE "account_users"."account_id" = $1 AND "account_users"."user_id" = $2 LIMIT $3  [["account_id", 4], ["user_id", 22], ["LIMIT", 1]]
03:47:32 web.1     |   ↳ app/helpers/accounts_helper.rb:37:in `account_admin?'
03:47:32 web.1     |   AccountUser Load (0.3ms)  SELECT "account_users".* FROM "account_users" WHERE "account_users"."account_id" = $1  [["account_id", 4]]
03:47:32 web.1     |   ↳ app/views/accounts/show.html.erb:39
03:47:32 web.1     |   User Load (0.5ms)  SELECT "users".* FROM "users" WHERE "users"."id" IN ($1, $2, $3)  [["id", 1], ["id", 22], ["id", 23]]
03:47:32 web.1     |   ↳ app/views/accounts/show.html.erb:39
03:47:32 web.1     |   ActiveStorage::Attachment Load (0.2ms)  SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = $1 AND "active_storage_attachments"."record_type" = $2 AND "active_storage_attachments"."name" = $3 LIMIT $4  [["record_id", 1], ["record_type", "User"], ["name", "avatar"], ["LIMIT", 1]]
03:47:32 web.1     |   ↳ app/helpers/application_helper.rb:7:in `avatar_url_for'
03:47:32 web.1     |   CACHE AccountUser Load (0.0ms)  SELECT "account_users".* FROM "account_users" WHERE "account_users"."account_id" = $1 AND "account_users"."user_id" = $2 LIMIT $3  [["account_id", 4], ["user_id", 22], ["LIMIT", 1]]
03:47:32 web.1     |   ↳ app/helpers/accounts_helper.rb:37:in `account_admin?'
03:47:32 web.1     |   ActiveStorage::Attachment Load (0.2ms)  SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = $1 AND "active_storage_attachments"."record_type" = $2 AND "active_storage_attachments"."name" = $3 LIMIT $4  [["record_id", 22], ["record_type", "User"], ["name", "avatar"], ["LIMIT", 1]]
03:47:32 web.1     |   ↳ app/helpers/application_helper.rb:7:in `avatar_url_for'
03:47:32 web.1     |   CACHE AccountUser Load (0.0ms)  SELECT "account_users".* FROM "account_users" WHERE "account_users"."account_id" = $1 AND "account_users"."user_id" = $2 LIMIT $3  [["account_id", 4], ["user_id", 22], ["LIMIT", 1]]
03:47:32 web.1     |   ↳ app/helpers/accounts_helper.rb:37:in `account_admin?'
03:47:32 web.1     |   ActiveStorage::Attachment Load (0.2ms)  SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = $1 AND "active_storage_attachments"."record_type" = $2 AND "active_storage_attachments"."name" = $3 LIMIT $4  [["record_id", 23], ["record_type", "User"], ["name", "avatar"], ["LIMIT", 1]]
03:47:32 web.1     |   ↳ app/helpers/application_helper.rb:7:in `avatar_url_for'
03:47:32 web.1     |   CACHE AccountUser Load (0.0ms)  SELECT "account_users".* FROM "account_users" WHERE "account_users"."account_id" = $1 AND "account_users"."user_id" = $2 LIMIT $3  [["account_id", 4], ["user_id", 22], ["LIMIT", 1]]
03:47:32 web.1     |   ↳ app/helpers/accounts_helper.rb:37:in `account_admin?'
03:47:32 web.1     |   AccountInvitation Load (0.3ms)  SELECT "account_invitations".* FROM "account_invitations" WHERE "account_invitations"."account_id" = $1  [["account_id", 4]]
03:47:32 web.1     |   ↳ app/views/accounts/show.html.erb:52
03:47:32 web.1     |   Rendered accounts/show.html.erb within layouts/application (Duration: 23.7ms | Allocations: 14000)
03:47:32 web.1     |   Rendered shared/_favicons.html.erb (Duration: 0.0ms | Allocations: 5)
03:47:32 web.1     |   Rendered shared/_payments_dependencies.html.erb (Duration: 0.0ms | Allocations: 13)
03:47:32 web.1     |   Rendered shared/_flash.html.erb (Duration: 0.1ms | Allocations: 25)
03:47:32 web.1     |   Rendered shared/_left_nav.html.erb (Duration: 0.1ms | Allocations: 104)
03:47:32 web.1     |   Notification Load (0.3ms)  SELECT "notifications".* FROM "notifications" WHERE "notifications"."recipient_id" = $1 AND "notifications"."recipient_type" = $2 AND "notifications"."account_id" = $3 ORDER BY "notifications"."created_at" DESC LIMIT $4  [["recipient_id", 22], ["recipient_type", "User"], ["account_id", 4], ["LIMIT", 10]]
03:47:32 web.1     |   ↳ app/views/shared/_notifications.html.erb:20
03:47:32 web.1     |   User Load (0.2ms)  SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 23], ["LIMIT", 1]]
03:47:32 web.1     |   ↳ app/views/notifications/_notification.html.erb:1
03:47:32 web.1     |   Rendered collection of notifications/_notification.html.erb [1 times] (Duration: 2.1ms | Allocations: 2650)
03:47:32 web.1     |   Rendered shared/_notifications.html.erb (Duration: 4.2ms | Allocations: 3653)
03:47:32 web.1     |   Rendered shared/_navbar.html.erb (Duration: 4.8ms | Allocations: 3947)
03:47:32 web.1     | Completed 500 Internal Server Error in 40ms (ActiveRecord: 3.7ms | Allocations: 25529)
03:47:32 web.1     |
03:47:32 web.1     |
03:47:32 web.1     | Sending event 906daf25bf184d239a41125a8edfe608 to Sentry
03:47:32 web.1     |
03:47:32 web.1     | ActionView::Template::Error (No route matches {:action=>"show", :controller=>"accounts", :id=>nil}, missing required keys: [:id]):
03:47:32 web.1     |     1: <% instance = notification.to_notification %>
03:47:32 web.1     |     2: <%= link_to instance.url, data: {
03:47:32 web.1     |     3:     action: "click->notifications#markAsInteracted touch->notifications#markAsInteracted",
03:47:32 web.1     |     4:     target: "notifications.notification",
03:47:32 web.1     |     5:     id: notification&.id,
03:47:32 web.1     |
03:47:32 web.1     | app/notifications/accepted_invite.rb:16:in `url'
03:47:32 web.1     | app/views/notifications/_notification.html.erb:2
03:47:32 web.1     | app/views/shared/_notifications.html.erb:20
03:47:32 web.1     | app/views/shared/_notifications.html.erb:1
03:47:32 web.1     | app/views/shared/_navbar.html.erb:64
03:47:32 web.1     | app/views/layouts/application.html.erb:155
03:47:33 web.1     | [ActionCable] [User 22] Finished "/cable/" [WebSocket] for ::1 at 2020-08-13 03:47:33 -0400
03:47:33 web.1     | [ActionCable] [User 22] NotificationChannel stopped streaming from notification:Z2lkOi8vanVtcHN0YXJ0LWFwcC9Vc2VyLzIy
03:47:53 worker.1  | 2020-08-13T07:47:53.515Z pid=25262 tid=6rcm class=Noticed::DeliveryMethods::ActionCable jid=b1569805d580a540d6fb4730 INFO: start
Leonard Bogdonoff
Finally - this is what the failed DB records look like on the notifications:

[5] pry(main)> Notification.last
  Notification Load (0.4ms)  SELECT "notifications".* FROM "notifications" ORDER BY "notifications"."id" DESC LIMIT $1  [["LIMIT", 1]]
  User Load (0.7ms)  SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 24], ["LIMIT", 1]]
=> #<Notification:0x00007f8454337900
 id: 5,
 account_id: 4,
 recipient_type: "User",
 recipient_id: 22,
 type: "AcceptedInvite",
 params:
  {:user=>
    #<User id: 24, email: "asdfadf@adfasdf.asdfa", first_name: "asdf", last_name: "adfadf", time_zone: "UTC", accepted_terms_at: "2020-08-13 07:52:19", accepted_privacy_at: "2020-08-13 07:52:19", announcements_read_at: nil, admin: nil, created_at: "2020-08-13 07:52:19", updated_at: "2020-08-13 07:52:19", invitation_token: nil, invitation_created_at: nil, invitation_sent_at: nil, invitation_accepted_at: nil, invitation_limit: nil, invited_by_type: nil, invited_by_id: nil, invitations_count: 0, is_pending: nil, preferred_language: nil, terms_of_service: nil>},
 read_at: nil,
 created_at: Thu, 13 Aug 2020 07:52:19 UTC +00:00,
 updated_at: Thu, 13 Aug 2020 07:52:19 UTC +00:00,
 interacted_at: nil>
[6] pry(main)> Notification.first
  Notification Load (0.7ms)  SELECT "notifications".* FROM "notifications" ORDER BY "notifications"."id" ASC LIMIT $1  [["LIMIT", 1]]
  User Load (0.4ms)  SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 24], ["LIMIT", 1]]
=> #<Notification:0x00007f8493902558
 id: 4,
 account_id: 4,
 recipient_type: "User",
 recipient_id: 1,
 type: "AcceptedInvite",
 params:
  {:user=>
    #<User id: 24, email: "asdfadf@adfasdf.asdfa", first_name: "asdf", last_name: "adfadf", time_zone: "UTC", accepted_terms_at: "2020-08-13 07:52:19", accepted_privacy_at: "2020-08-13 07:52:19", announcements_read_at: nil, admin: nil, created_at: "2020-08-13 07:52:19", updated_at: "2020-08-13 07:52:19", invitation_token: nil, invitation_created_at: nil, invitation_sent_at: nil, invitation_accepted_at: nil, invitation_limit: nil, invited_by_type: nil, invited_by_id: nil, invitations_count: 0, is_pending: nil, preferred_language: nil, terms_of_service: nil>},
 read_at: nil,
 created_at: Thu, 13 Aug 2020 07:52:19 UTC +00:00,
 updated_at: Thu, 13 Aug 2020 07:52:19 UTC +00:00,
 interacted_at: nil>
[7] pry(main)>
Tom O'Brien
Hi Leonard,

I ran into this exact same problem this morning, and I made the following dirty workaround:

In /path/to/your/app/notifications/accepted_invite.rb, changing
 
account_path(params[:account])
to
account_path(record.account_id)

seemed to reference the correct account and displayed the notification without errors.

Cheers,
Tom
Is this still an issue on the current JSP?
John Quarto-vonTivadar
how old is your JSP? Mine is a whopping 6 months old , and I have
`account_path(record.account)`
effectively the same as Tom's solution
Notifications
You’re not receiving notifications from this thread.
© 2022 GoRails, LLC