Skip to content

Instantly share code, notes, and snippets.

@bogdan
Created November 22, 2017 13:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bogdan/6b963df28ccec53f0031199283dd38e0 to your computer and use it in GitHub Desktop.
Save bogdan/6b963df28ccec53f0031199283dd38e0 to your computer and use it in GitHub Desktop.
[4c015ea6bb27] Started POST "/internal/localization_override" for 127.0.0.1 at 2017-11-22 15:03:21 +0200
[4c015ea6bb27] [ETagCahing] ETag: none
[2017-11-22 15:03:21.601] Processing by Internal::LocalizationOverrideController#create as JSON
[4c015ea6bb27] [master/1] User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 5139 LIMIT 1
[4c015ea6bb27] [master/1] (0.3ms) BEGIN
[4c015ea6bb27] [master/1] SQL (0.5ms) UPDATE `users` SET `perishable_token` = 'wLM6kWLPS4Nb3b5eGhA', `last_request_at` = '2017-11-22 13:03:21', `updated_at` = '2017-11-22 13:03:21' WHERE `users`.`id` = 5139
[4c015ea6bb27] [master/1] CustomAttribute Load (0.5ms) SELECT `custom_attributes`.* FROM `custom_attributes` WHERE `custom_attributes`.`foreign_id` = 5139 AND `custom_attributes`.`model` = 'User'
[4c015ea6bb27] [master/1] (0.3ms) COMMIT
[4c015ea6bb27] [master/1] Account Load (0.6ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 4416 LIMIT 1
[2017-11-22 15:03:21.624] Completed 400 Bad Request in 22ms (ActiveRecord: 2.7ms)
[2017-11-22 15:03:21.625]
[2017-11-22 15:03:21.625] ActionController::ParameterMissing (param is missing or the value is empty: localization_override):
[2017-11-22 15:03:21.625]
[2017-11-22 15:03:21.625] app/controllers/internal/localization_override_controller.rb:10:in `localization_override_params'
app/controllers/internal/localization_override_controller.rb:3:in `create'
app/controllers/pages_controller.rb:37:in `set_time_zone'
app/controllers/application_controller.rb:229:in `add_site_to_newrelic'
app/services/etag_caching.rb:18:in `call'
lib/request_filter.rb:37:in `call'
lib/handle_unknown_http_method.rb:8:in `call'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment