Started GET "/" for ::1 at 2020-03-25 12:45:12 +0300 Processing by ContactsController#index as HTML Redirected to http://localhost:3000/login Filter chain halted as :authorize rendered or redirected Completed 302 Found in 8ms (ActiveRecord: 0.0ms) Started GET "/login" for ::1 at 2020-03-25 12:45:12 +0300 Processing by Oauth::AuthorizationController#login as HTML Rendering oauth/authorization/login.html.erb within layouts/application Rendered oauth/authorization/login.html.erb within layouts/application (0.7ms) Rendered shared/_header.html.erb (0.3ms) Completed 200 OK in 192ms (Views: 191.0ms | ActiveRecord: 0.0ms) Started GET "/oauth" for ::1 at 2020-03-25 12:45:15 +0300 Processing by Oauth::AuthorizationController#authorize as HTML Redirected to https://app.hubspot.com/oauth/authorize?client_id=967ad59f-41cd-44c2-8384-3806f9435151&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Foauth%2Fcallback&scope=contacts& Completed 302 Found in 6ms (ActiveRecord: 0.0ms) Started GET "/oauth/callback?code=80679709-1a90-48c2-b5d9-072efb2dc9dc" for ::1 at 2020-03-25 12:45:19 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"80679709-1a90-48c2-b5d9-072efb2dc9dc"} Redirected to http://localhost:3000/contacts Completed 302 Found in 1751ms (ActiveRecord: 0.0ms) Started GET "/contacts" for ::1 at 2020-03-25 12:45:21 +0300 Processing by ContactsController#index as HTML Rendering contacts/index.html.erb within layouts/application Rendered contacts/index.html.erb within layouts/application (74.8ms) Rendered shared/_header.html.erb (0.7ms) Completed 200 OK in 927ms (Views: 118.5ms | ActiveRecord: 0.0ms) Started DELETE "/contacts/6445" for ::1 at 2020-03-25 12:45:26 +0300 Processing by ContactsController#destroy as HTML Parameters: {"authenticity_token"=>"XlSXHhYP0QBUqn/ncCnsl5CJpoqTlz0mM/VdVCKerqDipfQaSCL8ypyQChrn55VshpiPR/QmnKa14005tVQQTg==", "id"=>"6445"} Redirected to http://localhost:3000/contacts Completed 302 Found in 1059ms (ActiveRecord: 0.0ms) Started GET "/contacts" for ::1 at 2020-03-25 12:45:27 +0300 Processing by ContactsController#index as HTML Rendering contacts/index.html.erb within layouts/application Rendered contacts/index.html.erb within layouts/application (33.3ms) Rendered shared/_header.html.erb (0.3ms) Completed 200 OK in 1449ms (Views: 45.3ms | ActiveRecord: 0.0ms) Started GET "/contacts" for ::1 at 2020-03-25 12:45:30 +0300 Processing by ContactsController#index as HTML Rendering contacts/index.html.erb within layouts/application Rendered contacts/index.html.erb within layouts/application (31.1ms) Rendered shared/_header.html.erb (0.2ms) Completed 200 OK in 516ms (Views: 41.2ms | ActiveRecord: 0.0ms) Started GET "/contacts/export.csv" for ::1 at 2020-03-25 12:45:49 +0300 Processing by ContactsController#export as CSV Rendering text template Rendered text template (0.1ms) Sent data contacts-2020-03-25.csv (3.6ms) Completed 200 OK in 11589ms (Views: 3.1ms | ActiveRecord: 0.0ms) Started GET "/contacts" for ::1 at 2020-03-25 12:47:08 +0300 Processing by ContactsController#index as HTML Rendering contacts/index.html.erb within layouts/application Rendered contacts/index.html.erb within layouts/application (82.7ms) Rendered shared/_header.html.erb (0.6ms) Completed 200 OK in 696ms (Views: 113.9ms | ActiveRecord: 0.0ms) Started GET "/contacts" for ::1 at 2020-03-25 12:47:54 +0300 Processing by ContactsController#index as HTML Rendering contacts/index.html.erb within layouts/application Rendered contacts/index.html.erb within layouts/application (51.5ms) Rendered shared/_header.html.erb (0.3ms) Completed 200 OK in 748ms (Views: 77.2ms | ActiveRecord: 0.0ms) Started DELETE "/contacts/6444" for ::1 at 2020-03-25 12:47:58 +0300 Processing by ContactsController#destroy as HTML Parameters: {"authenticity_token"=>"dgxtvA9qHE+e9k6nq1KjAVpYU3Ljg/1y5/wp7rhxvlLK/Q64UUcxhVbMO1o8nNr6TEl6v4QyXPJh6jmDL7sAvA==", "id"=>"6444"} Redirected to http://localhost:3000/contacts Completed 302 Found in 637ms (ActiveRecord: 0.0ms) Started GET "/contacts" for ::1 at 2020-03-25 12:47:58 +0300 Processing by ContactsController#index as HTML Rendering contacts/index.html.erb within layouts/application Rendered contacts/index.html.erb within layouts/application (44.2ms) Rendered shared/_header.html.erb (0.4ms) Completed 200 OK in 686ms (Views: 65.4ms | ActiveRecord: 0.0ms) Started GET "/contacts" for ::1 at 2020-03-25 12:48:00 +0300 Processing by ContactsController#index as HTML Rendering contacts/index.html.erb within layouts/application Rendered contacts/index.html.erb within layouts/application (51.1ms) Rendered shared/_header.html.erb (0.3ms) Completed 200 OK in 623ms (Views: 81.7ms | ActiveRecord: 0.0ms) Started GET "/contacts/6443" for ::1 at 2020-03-25 12:48:10 +0300 Processing by ContactsController#show as HTML Parameters: {"id"=>"6443"} Rendering contacts/show.html.erb within layouts/application Rendered contacts/show.html.erb within layouts/application (32.3ms) Rendered shared/_header.html.erb (0.4ms) Completed 200 OK in 627ms (Views: 75.1ms | ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2020-04-03 22:44:18 +0300 Processing by ContactsController#index as HTML Redirected to http://localhost:3000/login Filter chain halted as :authorize rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.0ms) Started GET "/login" for ::1 at 2020-04-03 22:44:18 +0300 Processing by Oauth::AuthorizationController#login as HTML Rendering oauth/authorization/login.html.erb within layouts/application Rendered oauth/authorization/login.html.erb within layouts/application (0.8ms) Rendered shared/_header.html.erb (0.3ms) Completed 200 OK in 321ms (Views: 320.8ms | ActiveRecord: 0.0ms) Started GET "/oauth" for ::1 at 2020-04-03 22:44:20 +0300 Processing by Oauth::AuthorizationController#authorize as HTML Redirected to https://app.hubspot.com/oauth/authorize?client_id=967ad59f-41cd-44c2-8384-3806f9435151&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Foauth%2Fcallback&scope=contacts& Completed 302 Found in 4ms (ActiveRecord: 0.0ms) Started GET "/oauth/callback?code=4c39f57d-33d2-4e3a-96d0-841b646ca886" for ::1 at 2020-04-03 22:44:25 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"4c39f57d-33d2-4e3a-96d0-841b646ca886"} Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms) NameError (uninitialized constant Hubspot::OAuth::TokensApi): app/lib/services/authorization/tokens/generate.rb:11:in `call' app/controllers/oauth/authorization_controller.rb:12:in `callback' Started GET "/oauth/callback?code=4c39f57d-33d2-4e3a-96d0-841b646ca886" for ::1 at 2020-04-03 22:47:04 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"4c39f57d-33d2-4e3a-96d0-841b646ca886"} Redirected to http://localhost:3000/contacts Completed 302 Found in 1328ms (ActiveRecord: 0.0ms) Started GET "/contacts" for ::1 at 2020-04-03 22:47:05 +0300 Processing by ContactsController#index as HTML Rendering contacts/index.html.erb within layouts/application Rendered contacts/index.html.erb within layouts/application (37.5ms) Rendered shared/_header.html.erb (0.3ms) Completed 200 OK in 1912ms (Views: 55.5ms | ActiveRecord: 0.0ms) Started GET "/contacts/6441" for ::1 at 2020-04-03 22:47:11 +0300 Processing by ContactsController#show as HTML Parameters: {"id"=>"6441"} Rendering contacts/show.html.erb within layouts/application Rendered contacts/show.html.erb within layouts/application (4.0ms) Rendered shared/_header.html.erb (0.3ms) Completed 200 OK in 1310ms (Views: 12.9ms | ActiveRecord: 0.0ms) Started GET "/contacts/6441" for ::1 at 2020-04-03 22:49:24 +0300 Processing by ContactsController#show as HTML Parameters: {"id"=>"6441"} Rendering contacts/show.html.erb within layouts/application Rendered contacts/show.html.erb within layouts/application (23.6ms) Completed 500 Internal Server Error in 810ms (ActiveRecord: 0.0ms) ActionView::Template::Error (undefined method `find' for nil:NilClass): 11: