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:

Properties

12: <%= form_for :contact, url: "/contacts/#{params[:id]}", method: 'put' do |form| %> 13: <% @contact.properties.each do |property_key, property_value| %> 14: <% next if @properties.find { |p| p.name == property_key }.modification_metadata.read_only_value %> 15: <%= label(:contact, property_key, @properties.find { |p| p.name == property_key }.label) %> 16: <% if property_key == 'hubspot_owner_id' %> 17: <%= select( app/views/contacts/show.html.erb:14:in `block (2 levels) in _app_views_contacts_show_html_erb__195597281837115810_69864790443580' app/views/contacts/show.html.erb:13:in `each' app/views/contacts/show.html.erb:13:in `block in _app_views_contacts_show_html_erb__195597281837115810_69864790443580' app/views/contacts/show.html.erb:12:in `_app_views_contacts_show_html_erb__195597281837115810_69864790443580' Started GET "/contacts/6441" for ::1 at 2020-04-03 22:50:20 +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 (3.9ms) Completed 500 Internal Server Error in 2105ms (ActiveRecord: 0.0ms) ActionView::Template::Error (undefined method `find' for nil:NilClass): 11:

Properties

12: <%= form_for :contact, url: "/contacts/#{params[:id]}", method: 'put' do |form| %> 13: <% @contact.properties.each do |property_key, property_value| %> 14: <% next if @properties.find { |p| p.name == property_key }.modification_metadata.read_only_value %> 15: <%= label(:contact, property_key, @properties.find { |p| p.name == property_key }.label) %> 16: <% if property_key == 'hubspot_owner_id' %> 17: <%= select( app/views/contacts/show.html.erb:14:in `block (2 levels) in _app_views_contacts_show_html_erb___2315360184686970075_47016019787860' app/views/contacts/show.html.erb:13:in `each' app/views/contacts/show.html.erb:13:in `block in _app_views_contacts_show_html_erb___2315360184686970075_47016019787860' app/views/contacts/show.html.erb:12:in `_app_views_contacts_show_html_erb___2315360184686970075_47016019787860' Started GET "/" for ::1 at 2020-04-03 22:50:23 +0300 Processing by ContactsController#index as HTML Rendering contacts/index.html.erb within layouts/application Rendered contacts/index.html.erb within layouts/application (52.2ms) Rendered shared/_header.html.erb (0.2ms) Completed 200 OK in 1957ms (Views: 206.0ms | ActiveRecord: 0.0ms) Started GET "/contacts/6440" for ::1 at 2020-04-03 22:50:27 +0300 Processing by ContactsController#show as HTML Parameters: {"id"=>"6440"} Rendering contacts/show.html.erb within layouts/application Rendered contacts/show.html.erb within layouts/application (2.2ms) Completed 500 Internal Server Error in 1390ms (ActiveRecord: 0.0ms) ActionView::Template::Error (undefined method `find' for nil:NilClass): 11:

Properties

12: <%= form_for :contact, url: "/contacts/#{params[:id]}", method: 'put' do |form| %> 13: <% @contact.properties.each do |property_key, property_value| %> 14: <% next if @properties.find { |p| p.name == property_key }.modification_metadata.read_only_value %> 15: <%= label(:contact, property_key, @properties.find { |p| p.name == property_key }.label) %> 16: <% if property_key == 'hubspot_owner_id' %> 17: <%= select( app/views/contacts/show.html.erb:14:in `block (2 levels) in _app_views_contacts_show_html_erb___2315360184686970075_69939717499660' app/views/contacts/show.html.erb:13:in `each' app/views/contacts/show.html.erb:13:in `block in _app_views_contacts_show_html_erb___2315360184686970075_69939717499660' app/views/contacts/show.html.erb:12:in `_app_views_contacts_show_html_erb___2315360184686970075_69939717499660' Started GET "/contacts/6440" for ::1 at 2020-04-03 22:50:40 +0300 Processing by ContactsController#show as HTML Parameters: {"id"=>"6440"} Rendering contacts/show.html.erb within layouts/application Rendered contacts/show.html.erb within layouts/application (2.4ms) Completed 500 Internal Server Error in 917ms (ActiveRecord: 0.0ms) ActionView::Template::Error (undefined method `find' for nil:NilClass): 11:

Properties

12: <%= form_for :contact, url: "/contacts/#{params[:id]}", method: 'put' do |form| %> 13: <% @contact.properties.each do |property_key, property_value| %> 14: <% next if @properties.find { |p| p.name == property_key }.modification_metadata.read_only_value %> 15: <%= label(:contact, property_key, @properties.find { |p| p.name == property_key }.label) %> 16: <% if property_key == 'hubspot_owner_id' %> 17: <%= select( app/views/contacts/show.html.erb:14:in `block (2 levels) in _app_views_contacts_show_html_erb___2315360184686970075_69939960633660' app/views/contacts/show.html.erb:13:in `each' app/views/contacts/show.html.erb:13:in `block in _app_views_contacts_show_html_erb___2315360184686970075_69939960633660' app/views/contacts/show.html.erb:12:in `_app_views_contacts_show_html_erb___2315360184686970075_69939960633660' Started GET "/contacts/6440" for ::1 at 2020-04-03 22:52:10 +0300 Processing by ContactsController#show as HTML Parameters: {"id"=>"6440"} Rendering contacts/show.html.erb within layouts/application Rendered contacts/show.html.erb within layouts/application (4.1ms) Rendered shared/_header.html.erb (0.8ms) Completed 200 OK in 1338ms (Views: 18.7ms | ActiveRecord: 0.0ms)