Skip to content

Instantly share code, notes, and snippets.

@MMcM
Created March 29, 2013 12:37
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 MMcM/5270559 to your computer and use it in GitHub Desktop.
Save MMcM/5270559 to your computer and use it in GitHub Desktop.
Log entries for this space
Started POST "/workspaces/251/putentities.json" for 66.31.108.252 at 2013-03-29 12:18:32 +0000
Processing by WorkspacesController#putentities as JSON
Parameters: {"entities"=>"{\n \"foo\": {\n \"attributes\": {\n \"id\": {\n \"scalar\": \"adf38f62-b760-4c74-bddd-f9494e653ace\",\n \"type\": \"integer\",\n \"spinal_pos\": 0\n }\n },\n \"entity\": \"0647b2ff-bc3e-41fd-a93f-57a06a3e4544\"\n }\n}", "id"=>"251"}
Completed 200 OK in 41ms (Views: 0.3ms | ActiveRecord: 20.7ms)
Started POST "/workspaces/251/putentities.json" for 66.31.108.252 at 2013-03-29 12:26:29 +0000
Processing by WorkspacesController#putentities as JSON
Parameters: {"entities"=>"{\n \"bar\": {\n \"attributes\": {\n \"id\": {\n \"scalar\": \"adf38f62-b760-4c74-bddd-f9494e653ace\",\n \"type\": \"integer\",\n \"spinal_pos\": 0,\n \"validation\": [\n {\n \"required\": true\n },\n {\n \"max_length\": 256\n }\n ]\n },\n \"foield\": {\n \"scalar\": \"e84bf692-09c4-4813-9db1-415bad31747f\",\n \"type\": \"integer\"\n }\n },\n \"entity\": \"0647b2ff-bc3e-41fd-a93f-57a06a3e4544\"\n }\n}", "id"=>"251"}
PG::Error: ERROR: Non-unique key for index index_entities_on_workspace_id_and_name: {(long)251,"bar",(long)0}
: UPDATE "entities" SET "name" = 'bar', "definition" = '{"attributes":{"id":{"scalar":"adf38f62-b760-4c74-bddd-f9494e653ace","type":"integer","spinal_pos":0,"validation":[{"required":true},{"max_length":256}]},"foield":{"scalar":"e84bf692-09c4-4813-9db1-415bad31747f","type":"integer"}},"entity":"0647b2ff-bc3e-41fd-a93f-57a06a3e4544"}', "updated_at" = '2013-03-29 12:26:30.092236' WHERE "entities"."id" = 706
Completed 200 OK in 114ms (Views: 0.4ms | ActiveRecord: 16.9ms)
Started POST "/workspaces/251/putentities.json" for 66.31.108.252 at 2013-03-29 12:26:53 +0000
Processing by WorkspacesController#putentities as JSON
Parameters: {"entities"=>"{\n \"bar\": {\n \"attributes\": {\n \"id\": {\n \"scalar\": \"adf38f62-b760-4c74-bddd-f9494e653ace\",\n \"type\": \"integer\",\n \"spinal_pos\": 0,\n \"validation\": [\n {\n \"required\": true\n },\n {\n \"max_length\": 256\n }\n ]\n },\n \"foield\": {\n \"scalar\": \"e84bf692-09c4-4813-9db1-415bad31747f\",\n \"type\": \"integer\"\n }\n },\n \"entity\": \"0647b2ff-bc3e-41fd-a93f-57a06a3e4544\"\n }\n}", "id"=>"251"}
PG::Error: ERROR: Non-unique key for index index_entities_on_workspace_id_and_name: {(long)251,"bar",(long)0}
: UPDATE "entities" SET "name" = 'bar', "definition" = '{"attributes":{"id":{"scalar":"adf38f62-b760-4c74-bddd-f9494e653ace","type":"integer","spinal_pos":0,"validation":[{"required":true},{"max_length":256}]},"foield":{"scalar":"e84bf692-09c4-4813-9db1-415bad31747f","type":"integer"}},"entity":"0647b2ff-bc3e-41fd-a93f-57a06a3e4544"}', "updated_at" = '2013-03-29 12:26:53.608745' WHERE "entities"."id" = 706
Completed 200 OK in 30ms (Views: 0.3ms | ActiveRecord: 9.1ms)
Started POST "/workspaces/251/putentities.json" for 66.31.108.252 at 2013-03-29 12:27:12 +0000
Processing by WorkspacesController#putentities as JSON
Parameters: {"entities"=>"{\n \"bar\": {\n \"attributes\": {\n \"id\": {\n \"scalar\": \"adf38f62-b760-4c74-bddd-f9494e653ace\",\n \"type\": \"integer\",\n \"spinal_pos\": 0,\n \"validation\": [\n {\n \"required\": true\n },\n {\n \"max_length\": 256\n }\n ]\n },\n \"foield\": {\n \"scalar\": \"e84bf692-09c4-4813-9db1-415bad31747f\",\n \"type\": \"integer\"\n }\n },\n \"entity\": \"0647b2ff-bc3e-41fd-a93f-57a06a3e4544\"\n }\n}", "id"=>"251"}
PG::Error: ERROR: Non-unique key for index index_entities_on_workspace_id_and_name: {(long)251,"bar",(long)0}
: UPDATE "entities" SET "name" = 'bar', "definition" = '{"attributes":{"id":{"scalar":"adf38f62-b760-4c74-bddd-f9494e653ace","type":"integer","spinal_pos":0,"validation":[{"required":true},{"max_length":256}]},"foield":{"scalar":"e84bf692-09c4-4813-9db1-415bad31747f","type":"integer"}},"entity":"0647b2ff-bc3e-41fd-a93f-57a06a3e4544"}', "updated_at" = '2013-03-29 12:27:12.219156' WHERE "entities"."id" = 706
Completed 200 OK in 36ms (Views: 0.3ms | ActiveRecord: 14.9ms)
Started POST "/workspaces/251/putentities.json" for 66.31.108.252 at 2013-03-29 12:27:17 +0000
Processing by WorkspacesController#putentities as JSON
Parameters: {"entities"=>"{\n \"bar\": {\n \"attributes\": {\n \"id\": {\n \"scalar\": \"adf38f62-b760-4c74-bddd-f9494e653ace\",\n \"type\": \"integer\",\n \"spinal_pos\": 0,\n \"validation\": [\n {\n \"required\": true\n },\n {\n \"max_length\": 256\n }\n ]\n },\n \"foield\": {\n \"scalar\": \"e84bf692-09c4-4813-9db1-415bad31747f\",\n \"type\": \"integer\"\n }\n },\n \"entity\": \"0647b2ff-bc3e-41fd-a93f-57a06a3e4544\"\n }\n}", "id"=>"251"}
PG::Error: ERROR: Non-unique key for index index_entities_on_workspace_id_and_name: {(long)251,"bar",(long)0}
: UPDATE "entities" SET "name" = 'bar', "definition" = '{"attributes":{"id":{"scalar":"adf38f62-b760-4c74-bddd-f9494e653ace","type":"integer","spinal_pos":0,"validation":[{"required":true},{"max_length":256}]},"foield":{"scalar":"e84bf692-09c4-4813-9db1-415bad31747f","type":"integer"}},"entity":"0647b2ff-bc3e-41fd-a93f-57a06a3e4544"}', "updated_at" = '2013-03-29 12:27:17.566768' WHERE "entities"."id" = 706
Completed 200 OK in 26ms (Views: 0.3ms | ActiveRecord: 8.8ms)
Started POST "/admin/log_search" for 66.31.108.252 at 2013-03-29 12:29:27 +0000
Processing by Admin::MainController#log_search as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"***", "key"=>"workspaces/251/putentities.json"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment