g5_updatable 0.10.1 → 0.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/g5_updatable/client_updater.rb +6 -1
- data/lib/g5_updatable/version.rb +1 -1
- data/spec/dummy/log/test.log +1464 -0
- data/spec/lib/g5_updatable/client_updater_spec.rb +13 -1
- metadata +2 -2
data/spec/dummy/log/test.log
CHANGED
@@ -15862,3 +15862,1467 @@ Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.6ms)
|
|
15862
15862
|
[1m[35m (0.2ms)[0m ROLLBACK
|
15863
15863
|
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
15864
15864
|
[1m[35m (0.2ms)[0m ROLLBACK
|
15865
|
+
[1m[36mActiveRecord::SchemaMigration Load (3.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
15866
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
15867
|
+
[1m[35m (0.9ms)[0m BEGIN
|
15868
|
+
[1m[36m (0.7ms)[0m [1mSAVEPOINT active_record_1[0m
|
15869
|
+
[1m[35mSQL (5.6ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:01:03.686846"], ["updated_at", "2015-09-29 17:01:03.686846"]]
|
15870
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15871
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15872
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:03.708662"], ["updated_at", "2015-09-29 17:01:03.708662"]]
|
15873
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15874
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15875
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:03.711530"], ["updated_at", "2015-09-29 17:01:03.711530"]]
|
15876
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15877
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15878
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:01:03.713251"], ["updated_at", "2015-09-29 17:01:03.713251"]]
|
15879
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15880
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
15881
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:03.715218"], ["updated_at", "2015-09-29 17:01:03.715218"]]
|
15882
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15883
|
+
Processing by G5Updatable::SyncsController#index as HTML
|
15884
|
+
Parameters: {"urn"=>"g5-c-1234-client"}
|
15885
|
+
[1m[35mG5Updatable::Client Load (1.2ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."urn" = $1 LIMIT 1 [["urn", "g5-c-1234-client"]]
|
15886
|
+
[1m[36m (1.3ms)[0m [1mSELECT MAX("g5_updatable_locations"."updated_at") FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "http://example.com/clients/g5-c-1234-client"]]
|
15887
|
+
Completed 200 OK in 21ms (Views: 1.3ms | ActiveRecord: 2.5ms)
|
15888
|
+
[1m[35m (1.1ms)[0m ROLLBACK
|
15889
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15890
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15891
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:01:03.744181"], ["updated_at", "2015-09-29 17:01:03.744181"]]
|
15892
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15893
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15894
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:03.746402"], ["updated_at", "2015-09-29 17:01:03.746402"]]
|
15895
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15896
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
15897
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:03.748425"], ["updated_at", "2015-09-29 17:01:03.748425"]]
|
15898
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15899
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15900
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:01:03.750121"], ["updated_at", "2015-09-29 17:01:03.750121"]]
|
15901
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15902
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15903
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:03.752051"], ["updated_at", "2015-09-29 17:01:03.752051"]]
|
15904
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15905
|
+
Processing by G5Updatable::SyncsController#index as HTML
|
15906
|
+
Parameters: {"urn"=>"xxx"}
|
15907
|
+
[1m[36mG5Updatable::Client Load (0.3ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."urn" = $1 LIMIT 1[0m [["urn", "xxx"]]
|
15908
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.3ms)
|
15909
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
15910
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15911
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
15912
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15913
|
+
[1m[35mG5Updatable::Client Load (1.1ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
15914
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15915
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-09-29 17:01:03.766461"], ["updated_at", "2015-09-29 17:01:03.766461"]]
|
15916
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15917
|
+
[1m[35mG5Updatable::Client Load (0.5ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
|
15918
|
+
[1m[36mG5Updatable::Client Load (0.2ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."name" = $1 LIMIT 1[0m [["name", "Client Name"]]
|
15919
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
15920
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15921
|
+
[1m[35mG5Updatable::Client Load (0.2ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
15922
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15923
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-09-29 17:01:03.771498"], ["updated_at", "2015-09-29 17:01:03.771498"]]
|
15924
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15925
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "g5_updatable_clients"
|
15926
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
15927
|
+
[1m[35m (0.1ms)[0m BEGIN
|
15928
|
+
[1m[36mG5Updatable::Client Load (0.2ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
15929
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15930
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-09-29 17:01:03.775321"], ["updated_at", "2015-09-29 17:01:03.775321"]]
|
15931
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15932
|
+
[1m[36mG5Updatable::Client Load (0.3ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1[0m
|
15933
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
15934
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15935
|
+
[1m[35mG5Updatable::Client Load (0.2ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
15936
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15937
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-09-29 17:01:03.779357"], ["updated_at", "2015-09-29 17:01:03.779357"]]
|
15938
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15939
|
+
[1m[35mG5Updatable::Client Load (0.3ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
|
15940
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
15941
|
+
[1m[35m (0.1ms)[0m BEGIN
|
15942
|
+
[1m[36mG5Updatable::Client Load (0.2ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
15943
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15944
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-09-29 17:01:03.783481"], ["updated_at", "2015-09-29 17:01:03.783481"]]
|
15945
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15946
|
+
[1m[36mG5Updatable::Client Load (0.3ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1[0m
|
15947
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
15948
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15949
|
+
[1m[35mG5Updatable::Client Load (0.2ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
15950
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15951
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-09-29 17:01:03.787526"], ["updated_at", "2015-09-29 17:01:03.787526"]]
|
15952
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15953
|
+
[1m[35mG5Updatable::Client Load (0.3ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
|
15954
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
15955
|
+
[1m[35m (0.1ms)[0m BEGIN
|
15956
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15957
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "old"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:01:03.791106"], ["updated_at", "2015-09-29 17:01:03.791106"]]
|
15958
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15959
|
+
[1m[35mG5Updatable::Client Load (0.2ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
15960
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15961
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "g5_updatable_clients" SET "urn" = $1, "name" = $2, "properties" = $3, "updated_at" = $4 WHERE "g5_updatable_clients"."id" = $5 [["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["updated_at", "2015-09-29 17:01:03.793466"], ["id", 51]]
|
15962
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15963
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "g5_updatable_clients"
|
15964
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
15965
|
+
[1m[35m (0.1ms)[0m BEGIN
|
15966
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15967
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "old"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:01:03.797818"], ["updated_at", "2015-09-29 17:01:03.797818"]]
|
15968
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15969
|
+
[1m[35mG5Updatable::Client Load (0.2ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
15970
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15971
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "g5_updatable_clients" SET "urn" = $1, "name" = $2, "properties" = $3, "updated_at" = $4 WHERE "g5_updatable_clients"."id" = $5 [["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["updated_at", "2015-09-29 17:01:03.800122"], ["id", 52]]
|
15972
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15973
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
15974
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15975
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15976
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "old"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:01:03.803480"], ["updated_at", "2015-09-29 17:01:03.803480"]]
|
15977
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15978
|
+
[1m[36mG5Updatable::Client Load (0.2ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
15979
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15980
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "g5_updatable_clients" SET "urn" = $1, "name" = $2, "properties" = $3, "updated_at" = $4 WHERE "g5_updatable_clients"."id" = $5[0m [["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["updated_at", "2015-09-29 17:01:03.805921"], ["id", 53]]
|
15981
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15982
|
+
[1m[36mG5Updatable::Client Load (0.3ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1[0m
|
15983
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
15984
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15985
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15986
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "old"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:01:03.809444"], ["updated_at", "2015-09-29 17:01:03.809444"]]
|
15987
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15988
|
+
[1m[36mG5Updatable::Client Load (0.2ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
15989
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15990
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "g5_updatable_clients" SET "urn" = $1, "name" = $2, "properties" = $3, "updated_at" = $4 WHERE "g5_updatable_clients"."id" = $5[0m [["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["updated_at", "2015-09-29 17:01:03.811798"], ["id", 54]]
|
15991
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15992
|
+
[1m[36mG5Updatable::Client Load (0.3ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1[0m
|
15993
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
15994
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15995
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15996
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:03.815813"], ["updated_at", "2015-09-29 17:01:03.815813"]]
|
15997
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15998
|
+
Processing by G5Updatable::LocationsController#show as HTML
|
15999
|
+
Parameters: {"urn"=>"g5-cl-1234-location"}
|
16000
|
+
[1m[36mG5Updatable::Location Load (0.4ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 LIMIT 1[0m [["urn", "g5-cl-1234-location"]]
|
16001
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.4ms)
|
16002
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
16003
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16004
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16005
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:03.822509"], ["updated_at", "2015-09-29 17:01:03.822509"]]
|
16006
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16007
|
+
Processing by G5Updatable::LocationsController#show as HTML
|
16008
|
+
Parameters: {"urn"=>"g5-cl-1234-location"}
|
16009
|
+
[1m[36mG5Updatable::Location Load (0.4ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 LIMIT 1[0m [["urn", "g5-cl-1234-location"]]
|
16010
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.4ms)
|
16011
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
16012
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
16013
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
16014
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:03.829818"], ["updated_at", "2015-09-29 17:01:03.829818"]]
|
16015
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
16016
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16017
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "another_urn"], ["client_uid", "something_else"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:03.831906"], ["updated_at", "2015-09-29 17:01:03.831906"]]
|
16018
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16019
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 [["urn", "g5-cl-1234-location"]]
|
16020
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16021
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16022
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16023
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:03.835295"], ["updated_at", "2015-09-29 17:01:03.835295"]]
|
16024
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16025
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16026
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "another_urn"], ["client_uid", "something_else"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:03.837040"], ["updated_at", "2015-09-29 17:01:03.837040"]]
|
16027
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16028
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "http://example.com/clients/g5-c-1234-client"]]
|
16029
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16030
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16031
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16032
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:03.840275"], ["updated_at", "2015-09-29 17:01:03.840275"]]
|
16033
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16034
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16035
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "another_urn"], ["client_uid", "something_else"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:03.842044"], ["updated_at", "2015-09-29 17:01:03.842044"]]
|
16036
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16037
|
+
[1m[35m (0.3ms)[0m SELECT MAX("g5_updatable_locations"."updated_at") FROM "g5_updatable_locations"
|
16038
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16039
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16040
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16041
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:01:03.845359"], ["updated_at", "2015-09-29 17:01:03.845359"]]
|
16042
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16043
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
16044
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:03.847323"], ["updated_at", "2015-09-29 17:01:03.847323"]]
|
16045
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16046
|
+
[1m[36mG5Updatable::Client Load (0.2ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/clients/g5-c-1234-client"]]
|
16047
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16048
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16049
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16050
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:01:03.850855"], ["updated_at", "2015-09-29 17:01:03.850855"]]
|
16051
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16052
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16053
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:03.852647"], ["updated_at", "2015-09-29 17:01:03.852647"]]
|
16054
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16055
|
+
[1m[35mG5Updatable::Client Load (0.2ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/clients/g5-c-1234-client"]]
|
16056
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16057
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16058
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16059
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "madeup"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:03.855636"], ["updated_at", "2015-09-29 17:01:03.855636"]]
|
16060
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16061
|
+
[1m[35mG5Updatable::Client Load (0.1ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "madeup"]]
|
16062
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16063
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16064
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16065
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16066
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
16067
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16068
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16069
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16070
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16071
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16072
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
16073
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"key\":\"value\"}"], ["created_at", "2015-09-29 17:01:03.879549"], ["updated_at", "2015-09-29 17:01:03.879549"]]
|
16074
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16075
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 102]]
|
16076
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16077
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16078
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16079
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16080
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16081
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16082
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16083
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16084
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16085
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16086
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16087
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16088
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16089
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16090
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16091
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16092
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
16093
|
+
[1m[35m (0.2ms)[0m BEGIN
|
16094
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16095
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "old"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:03.906172"], ["updated_at", "2015-09-29 17:01:03.906172"]]
|
16096
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16097
|
+
[1m[35mG5Updatable::Location Load (0.4ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
16098
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16099
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "g5_updatable_locations" SET "urn" = $1, "name" = $2, "client_uid" = $3, "updated_at" = $4, "properties" = $5 WHERE "g5_updatable_locations"."id" = $6 [["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:01:03.910044"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 103]]
|
16100
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16101
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
16102
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16103
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16104
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16105
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "another_urn"], ["client_uid", "client_uid"], ["name", "Location Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:01:03.917175"], ["updated_at", "2015-09-29 17:01:03.917175"]]
|
16106
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16107
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16108
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "some_urn"], ["client_uid", "another_client_uid"], ["name", "Location Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:01:03.919490"], ["updated_at", "2015-09-29 17:01:03.919490"]]
|
16109
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16110
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
16111
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16112
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1[0m [["id", 104]]
|
16113
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16114
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
16115
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1 [["client_uid", "another_client_uid"]]
|
16116
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16117
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16118
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
16119
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16120
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:01:03.926018"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:01:03.926607"]]
|
16121
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16122
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
16123
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
|
16124
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."name" = $1 LIMIT 1[0m [["name", "Location Name"]]
|
16125
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16126
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16127
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
16128
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16129
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:01:03.932507"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:01:03.933091"]]
|
16130
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16131
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
16132
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "g5_updatable_locations"[0m
|
16133
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16134
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16135
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
16136
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16137
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:01:03.937323"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:01:03.937901"]]
|
16138
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16139
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
16140
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1[0m
|
16141
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16142
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16143
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
16144
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16145
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:01:03.942336"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:01:03.943041"]]
|
16146
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16147
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
16148
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16149
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:01:03.946168"], ["updated_at", "2015-09-29 17:01:03.946168"]]
|
16150
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16151
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16152
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:03.948191"], ["updated_at", "2015-09-29 17:01:03.948191"]]
|
16153
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16154
|
+
[1m[36mG5Updatable::Client Load (0.3ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1[0m [["id", 57]]
|
16155
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 110]]
|
16156
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16157
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16158
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
16159
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16160
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:01:03.953237"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:01:03.953878"]]
|
16161
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16162
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
16163
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
|
16164
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16165
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16166
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
16167
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16168
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:01:03.958958"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:01:03.959557"]]
|
16169
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16170
|
+
[1m[36mG5Updatable::Location Load (0.1ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
16171
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
|
16172
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16173
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16174
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
16175
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16176
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:01:03.964092"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:01:03.964693"]]
|
16177
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16178
|
+
[1m[36mG5Updatable::Location Load (0.1ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
16179
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
|
16180
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16181
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16182
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
16183
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16184
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:01:03.969113"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:01:03.969713"]]
|
16185
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16186
|
+
[1m[36mG5Updatable::Location Load (0.1ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
16187
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
|
16188
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16189
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16190
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16191
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["client_uid", "client_uid"], ["name", "Location Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:01:03.974233"], ["updated_at", "2015-09-29 17:01:03.974233"]]
|
16192
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16193
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
|
16194
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
16195
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
16196
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "g5_updatable_locations" SET "updated_at" = $1 WHERE "g5_updatable_locations"."id" = $2[0m [["updated_at", "2015-09-29 17:01:04.007791"], ["id", 115]]
|
16197
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16198
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
16199
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 115]]
|
16200
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16201
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16202
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16203
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["client_uid", "client_uid"], ["name", "Location Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:01:04.013457"], ["updated_at", "2015-09-29 17:01:04.013457"]]
|
16204
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16205
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
|
16206
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
16207
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16208
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "g5_updatable_locations" SET "updated_at" = $1 WHERE "g5_updatable_locations"."id" = $2[0m [["updated_at", "2015-09-29 17:01:04.016062"], ["id", 116]]
|
16209
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16210
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
16211
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16212
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:01:04.019009"], ["updated_at", "2015-09-29 17:01:04.019009"]]
|
16213
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16214
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16215
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:04.020830"], ["updated_at", "2015-09-29 17:01:04.020830"]]
|
16216
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16217
|
+
[1m[35mG5Updatable::Client Load (0.2ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1 [["id", 58]]
|
16218
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1[0m [["id", 117]]
|
16219
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16220
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16221
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16222
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "another_uid"], ["urn", "dead_urn"], ["client_uid", "client_uid"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:04.024840"], ["updated_at", "2015-09-29 17:01:04.024840"]]
|
16223
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16224
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
16225
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16226
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:01:04.026861"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:01:04.027442"]]
|
16227
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16228
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
16229
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16230
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1[0m [["id", 118]]
|
16231
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16232
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 AND "g5_updatable_locations"."client_uid" = $2[0m [["urn", "urn"], ["client_uid", "client_uid"]]
|
16233
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 AND "g5_updatable_locations"."client_uid" = $2 [["urn", "dead_urn"], ["client_uid", "client_uid"]]
|
16234
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16235
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16236
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16237
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "old"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:04.033337"], ["updated_at", "2015-09-29 17:01:04.033337"]]
|
16238
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16239
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
16240
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16241
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "g5_updatable_locations" SET "urn" = $1, "name" = $2, "client_uid" = $3, "updated_at" = $4, "properties" = $5 WHERE "g5_updatable_locations"."id" = $6 [["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:01:04.035068"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 120]]
|
16242
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16243
|
+
[1m[35mG5Updatable::Location Load (0.1ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
16244
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "g5_updatable_locations"[0m
|
16245
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16246
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16247
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16248
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "old"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:04.039380"], ["updated_at", "2015-09-29 17:01:04.039380"]]
|
16249
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16250
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
16251
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16252
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "g5_updatable_locations" SET "urn" = $1, "name" = $2, "client_uid" = $3, "updated_at" = $4, "properties" = $5 WHERE "g5_updatable_locations"."id" = $6[0m [["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:01:04.041178"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 121]]
|
16253
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16254
|
+
[1m[36mG5Updatable::Location Load (0.1ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
16255
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16256
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:01:04.044540"], ["updated_at", "2015-09-29 17:01:04.044540"]]
|
16257
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16258
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16259
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:04.046438"], ["updated_at", "2015-09-29 17:01:04.046438"]]
|
16260
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16261
|
+
[1m[35mG5Updatable::Client Load (0.3ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1 [["id", 59]]
|
16262
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1[0m [["id", 122]]
|
16263
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16264
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16265
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16266
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "old"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:04.050471"], ["updated_at", "2015-09-29 17:01:04.050471"]]
|
16267
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16268
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
16269
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16270
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "g5_updatable_locations" SET "urn" = $1, "name" = $2, "client_uid" = $3, "updated_at" = $4, "properties" = $5 WHERE "g5_updatable_locations"."id" = $6[0m [["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:01:04.052420"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 123]]
|
16271
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16272
|
+
[1m[36mG5Updatable::Location Load (0.1ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
16273
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
|
16274
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16275
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16276
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16277
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "old"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:04.057473"], ["updated_at", "2015-09-29 17:01:04.057473"]]
|
16278
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16279
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
16280
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16281
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "g5_updatable_locations" SET "urn" = $1, "name" = $2, "client_uid" = $3, "updated_at" = $4, "properties" = $5 WHERE "g5_updatable_locations"."id" = $6 [["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:01:04.059284"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 124]]
|
16282
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16283
|
+
[1m[35mG5Updatable::Location Load (0.1ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
16284
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1[0m
|
16285
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16286
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16287
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16288
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16289
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
16290
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16291
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:01:04.064782"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:01:04.065343"]]
|
16292
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16293
|
+
[1m[35mG5Updatable::Location Load (0.1ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
16294
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" ASC LIMIT 1[0m
|
16295
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16296
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16297
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16298
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:01:04.070778"], ["updated_at", "2015-09-29 17:01:04.070778"]]
|
16299
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16300
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16301
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:04.072765"], ["updated_at", "2015-09-29 17:01:04.072765"]]
|
16302
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16303
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1 [["client_uid", "http://example.com/clients/g5-c-1234-client"]]
|
16304
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16305
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16306
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16307
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16308
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
16309
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16310
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
16311
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16312
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16313
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"key\":\"value\"}"], ["created_at", "2015-09-29 17:01:04.086931"], ["updated_at", "2015-09-29 17:01:04.086931"]]
|
16314
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16315
|
+
[1m[35mG5Updatable::Client Load (0.4ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1 [["id", 61]]
|
16316
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
16317
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16318
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16319
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16320
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16321
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16322
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16323
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16324
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16325
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16326
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16327
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16328
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16329
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16330
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16331
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16332
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16333
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16334
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16335
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16336
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16337
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
16338
|
+
[1m[35m (0.3ms)[0m BEGIN
|
16339
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
16340
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16341
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16342
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16343
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
16344
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16345
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16346
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16347
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16348
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16349
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
16350
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16351
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16352
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16353
|
+
[1m[36mG5Updatable::Client Load (0.5ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
16354
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
16355
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-09-29 17:01:24.353409"], ["updated_at", "2015-09-29 17:01:24.353409"]]
|
16356
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
16357
|
+
[1m[36mG5Updatable::Client Load (0.9ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1[0m
|
16358
|
+
[1m[35mG5Updatable::Client Load (0.4ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."name" = $1 LIMIT 1 [["name", "Client Name"]]
|
16359
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
16360
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16361
|
+
[1m[36mG5Updatable::Client Load (0.3ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
16362
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16363
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-09-29 17:01:24.364206"], ["updated_at", "2015-09-29 17:01:24.364206"]]
|
16364
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
16365
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "g5_updatable_clients"[0m
|
16366
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
16367
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16368
|
+
[1m[35mG5Updatable::Client Load (0.3ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
16369
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16370
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-09-29 17:01:24.369186"], ["updated_at", "2015-09-29 17:01:24.369186"]]
|
16371
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16372
|
+
[1m[35mG5Updatable::Client Load (0.4ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
|
16373
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16374
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16375
|
+
[1m[36mG5Updatable::Client Load (0.3ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
16376
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16377
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-09-29 17:01:24.374093"], ["updated_at", "2015-09-29 17:01:24.374093"]]
|
16378
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16379
|
+
[1m[36mG5Updatable::Client Load (0.3ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1[0m
|
16380
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16381
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16382
|
+
[1m[35mG5Updatable::Client Load (0.2ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
16383
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16384
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-09-29 17:01:24.378488"], ["updated_at", "2015-09-29 17:01:24.378488"]]
|
16385
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16386
|
+
[1m[35mG5Updatable::Client Load (0.3ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
|
16387
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16388
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16389
|
+
[1m[36mG5Updatable::Client Load (0.2ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
16390
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16391
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-09-29 17:01:24.382307"], ["updated_at", "2015-09-29 17:01:24.382307"]]
|
16392
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16393
|
+
[1m[36mG5Updatable::Client Load (0.3ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1[0m
|
16394
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16395
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16396
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16397
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "old"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:01:24.386007"], ["updated_at", "2015-09-29 17:01:24.386007"]]
|
16398
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16399
|
+
[1m[36mG5Updatable::Client Load (0.1ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
16400
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16401
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "g5_updatable_clients" SET "urn" = $1, "name" = $2, "properties" = $3, "updated_at" = $4 WHERE "g5_updatable_clients"."id" = $5[0m [["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["updated_at", "2015-09-29 17:01:24.388165"], ["id", 68]]
|
16402
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16403
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "g5_updatable_clients"[0m
|
16404
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16405
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16406
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16407
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "old"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:01:24.392417"], ["updated_at", "2015-09-29 17:01:24.392417"]]
|
16408
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16409
|
+
[1m[36mG5Updatable::Client Load (0.1ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
16410
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16411
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "g5_updatable_clients" SET "urn" = $1, "name" = $2, "properties" = $3, "updated_at" = $4 WHERE "g5_updatable_clients"."id" = $5[0m [["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["updated_at", "2015-09-29 17:01:24.394613"], ["id", 69]]
|
16412
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16413
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16414
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-09-29 17:01:24.396508"], ["updated_at", "2015-09-29 17:01:24.396508"]]
|
16415
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16416
|
+
[1m[35mG5Updatable::Client Load (0.3ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
|
16417
|
+
[1m[36mG5Updatable::Client Load (0.2ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
16418
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16419
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16420
|
+
[1m[35mG5Updatable::Client Load (0.2ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1 [["id", 69]]
|
16421
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16422
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16423
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16424
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "old"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:01:24.402259"], ["updated_at", "2015-09-29 17:01:24.402259"]]
|
16425
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16426
|
+
[1m[35mG5Updatable::Client Load (0.2ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
16427
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16428
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "g5_updatable_clients" SET "urn" = $1, "name" = $2, "properties" = $3, "updated_at" = $4 WHERE "g5_updatable_clients"."id" = $5 [["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["updated_at", "2015-09-29 17:01:24.404506"], ["id", 71]]
|
16429
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16430
|
+
[1m[35mG5Updatable::Client Load (0.3ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
|
16431
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16432
|
+
[1m[35m (0.2ms)[0m BEGIN
|
16433
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
16434
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "old"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:01:24.408040"], ["updated_at", "2015-09-29 17:01:24.408040"]]
|
16435
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16436
|
+
[1m[35mG5Updatable::Client Load (0.2ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
16437
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16438
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "g5_updatable_clients" SET "urn" = $1, "name" = $2, "properties" = $3, "updated_at" = $4 WHERE "g5_updatable_clients"."id" = $5 [["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["updated_at", "2015-09-29 17:01:24.410260"], ["id", 72]]
|
16439
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16440
|
+
[1m[35mG5Updatable::Client Load (0.3ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
|
16441
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
16442
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16443
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
16444
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:24.421983"], ["updated_at", "2015-09-29 17:01:24.421983"]]
|
16445
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16446
|
+
Processing by G5Updatable::LocationsController#show as HTML
|
16447
|
+
Parameters: {"urn"=>"g5-cl-1234-location"}
|
16448
|
+
[1m[35mG5Updatable::Location Load (0.5ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 LIMIT 1 [["urn", "g5-cl-1234-location"]]
|
16449
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.5ms)
|
16450
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
16451
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16452
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
16453
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:24.432951"], ["updated_at", "2015-09-29 17:01:24.432951"]]
|
16454
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16455
|
+
Processing by G5Updatable::LocationsController#show as HTML
|
16456
|
+
Parameters: {"urn"=>"g5-cl-1234-location"}
|
16457
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 LIMIT 1 [["urn", "g5-cl-1234-location"]]
|
16458
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
16459
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
16460
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16461
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
16462
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16463
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
16464
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16465
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16466
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:01:24.450140"], ["updated_at", "2015-09-29 17:01:24.450140"]]
|
16467
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16468
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16469
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:24.452128"], ["updated_at", "2015-09-29 17:01:24.452128"]]
|
16470
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16471
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "http://example.com/clients/g5-c-1234-client"]]
|
16472
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16473
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16474
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16475
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16476
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16477
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"key\":\"value\"}"], ["created_at", "2015-09-29 17:01:24.466347"], ["updated_at", "2015-09-29 17:01:24.466347"]]
|
16478
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16479
|
+
[1m[36mG5Updatable::Client Load (0.2ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1[0m [["id", 74]]
|
16480
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16481
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16482
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16483
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16484
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16485
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16486
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16487
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16488
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
16489
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16490
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16491
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16492
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
16493
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:01:24.487039"], ["updated_at", "2015-09-29 17:01:24.487039"]]
|
16494
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
16495
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
16496
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:24.489633"], ["updated_at", "2015-09-29 17:01:24.489633"]]
|
16497
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16498
|
+
[1m[35mG5Updatable::Client Load (0.2ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/clients/g5-c-1234-client"]]
|
16499
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16500
|
+
[1m[35m (0.2ms)[0m BEGIN
|
16501
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16502
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:01:24.497098"], ["updated_at", "2015-09-29 17:01:24.497098"]]
|
16503
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16504
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16505
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:24.499021"], ["updated_at", "2015-09-29 17:01:24.499021"]]
|
16506
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16507
|
+
[1m[36mG5Updatable::Client Load (0.2ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/clients/g5-c-1234-client"]]
|
16508
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16509
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16510
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16511
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "madeup"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:24.502150"], ["updated_at", "2015-09-29 17:01:24.502150"]]
|
16512
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16513
|
+
[1m[36mG5Updatable::Client Load (0.1ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "madeup"]]
|
16514
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16515
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16516
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16517
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:24.505107"], ["updated_at", "2015-09-29 17:01:24.505107"]]
|
16518
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16519
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16520
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "another_urn"], ["client_uid", "something_else"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:24.506828"], ["updated_at", "2015-09-29 17:01:24.506828"]]
|
16521
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16522
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 [["urn", "g5-cl-1234-location"]]
|
16523
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16524
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16525
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16526
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:24.510250"], ["updated_at", "2015-09-29 17:01:24.510250"]]
|
16527
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16528
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16529
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "another_urn"], ["client_uid", "something_else"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:24.512021"], ["updated_at", "2015-09-29 17:01:24.512021"]]
|
16530
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
16531
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "http://example.com/clients/g5-c-1234-client"]]
|
16532
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16533
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16534
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16535
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:24.515041"], ["updated_at", "2015-09-29 17:01:24.515041"]]
|
16536
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16537
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16538
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "another_urn"], ["client_uid", "something_else"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:24.516737"], ["updated_at", "2015-09-29 17:01:24.516737"]]
|
16539
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16540
|
+
[1m[35m (0.5ms)[0m SELECT MAX("g5_updatable_locations"."updated_at") FROM "g5_updatable_locations"
|
16541
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
16542
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16543
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16544
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16545
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16546
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"key\":\"value\"}"], ["created_at", "2015-09-29 17:01:24.521968"], ["updated_at", "2015-09-29 17:01:24.521968"]]
|
16547
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16548
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 139]]
|
16549
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16550
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16551
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16552
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16553
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16554
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16555
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16556
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:01:24.528259"], ["updated_at", "2015-09-29 17:01:24.528259"]]
|
16557
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16558
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16559
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:24.530309"], ["updated_at", "2015-09-29 17:01:24.530309"]]
|
16560
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16561
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
16562
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:24.532469"], ["updated_at", "2015-09-29 17:01:24.532469"]]
|
16563
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16564
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16565
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:01:24.534191"], ["updated_at", "2015-09-29 17:01:24.534191"]]
|
16566
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16567
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16568
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:24.536048"], ["updated_at", "2015-09-29 17:01:24.536048"]]
|
16569
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16570
|
+
Processing by G5Updatable::SyncsController#index as HTML
|
16571
|
+
Parameters: {"urn"=>"g5-c-1234-client"}
|
16572
|
+
[1m[35mG5Updatable::Client Load (0.3ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."urn" = $1 LIMIT 1 [["urn", "g5-c-1234-client"]]
|
16573
|
+
[1m[36m (0.3ms)[0m [1mSELECT MAX("g5_updatable_locations"."updated_at") FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "http://example.com/clients/g5-c-1234-client"]]
|
16574
|
+
Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.6ms)
|
16575
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
16576
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16577
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16578
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:01:24.544819"], ["updated_at", "2015-09-29 17:01:24.544819"]]
|
16579
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16580
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16581
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:24.546968"], ["updated_at", "2015-09-29 17:01:24.546968"]]
|
16582
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16583
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16584
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:24.548849"], ["updated_at", "2015-09-29 17:01:24.548849"]]
|
16585
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16586
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16587
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:01:24.550598"], ["updated_at", "2015-09-29 17:01:24.550598"]]
|
16588
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16589
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
16590
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:24.552601"], ["updated_at", "2015-09-29 17:01:24.552601"]]
|
16591
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16592
|
+
Processing by G5Updatable::SyncsController#index as HTML
|
16593
|
+
Parameters: {"urn"=>"xxx"}
|
16594
|
+
[1m[36mG5Updatable::Client Load (0.3ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."urn" = $1 LIMIT 1[0m [["urn", "xxx"]]
|
16595
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.3ms)
|
16596
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
16597
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16598
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
16599
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16600
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16601
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
16602
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
16603
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
16604
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
16605
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
16606
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16607
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16608
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16609
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16610
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16611
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16612
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16613
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["client_uid", "client_uid"], ["name", "Location Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:01:24.574776"], ["updated_at", "2015-09-29 17:01:24.574776"]]
|
16614
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16615
|
+
[1m[36mG5Updatable::Location Load (0.4ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1[0m
|
16616
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
16617
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16618
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "g5_updatable_locations" SET "updated_at" = $1 WHERE "g5_updatable_locations"."id" = $2 [["updated_at", "2015-09-29 17:01:24.578141"], ["id", 146]]
|
16619
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16620
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
16621
|
+
[1m[36mG5Updatable::Location Load (0.4ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1[0m [["id", 146]]
|
16622
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
16623
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16624
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16625
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["client_uid", "client_uid"], ["name", "Location Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:01:24.585754"], ["updated_at", "2015-09-29 17:01:24.585754"]]
|
16626
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16627
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1[0m
|
16628
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
16629
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16630
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "g5_updatable_locations" SET "updated_at" = $1 WHERE "g5_updatable_locations"."id" = $2 [["updated_at", "2015-09-29 17:01:24.588755"], ["id", 147]]
|
16631
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16632
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
16633
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16634
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:01:24.592189"], ["updated_at", "2015-09-29 17:01:24.592189"]]
|
16635
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16636
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
16637
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:24.594270"], ["updated_at", "2015-09-29 17:01:24.594270"]]
|
16638
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16639
|
+
[1m[36mG5Updatable::Client Load (0.3ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1[0m [["id", 81]]
|
16640
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 148]]
|
16641
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16642
|
+
[1m[35m (31.1ms)[0m BEGIN
|
16643
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
16644
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "another_uid"], ["urn", "dead_urn"], ["client_uid", "client_uid"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:24.629865"], ["updated_at", "2015-09-29 17:01:24.629865"]]
|
16645
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16646
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
16647
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16648
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:01:24.632170"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:01:24.632721"]]
|
16649
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16650
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
16651
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16652
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 [["id", 149]]
|
16653
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16654
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 AND "g5_updatable_locations"."client_uid" = $2 [["urn", "urn"], ["client_uid", "client_uid"]]
|
16655
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 AND "g5_updatable_locations"."client_uid" = $2[0m [["urn", "dead_urn"], ["client_uid", "client_uid"]]
|
16656
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16657
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16658
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
16659
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16660
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:01:24.639702"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:01:24.640296"]]
|
16661
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16662
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
16663
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1[0m
|
16664
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."name" = $1 LIMIT 1 [["name", "Location Name"]]
|
16665
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16666
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16667
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
16668
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16669
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:01:24.645971"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:01:24.646535"]]
|
16670
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16671
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
16672
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "g5_updatable_locations"
|
16673
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16674
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16675
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
16676
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16677
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:01:24.650804"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:01:24.651366"]]
|
16678
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16679
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
16680
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
|
16681
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16682
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16683
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
16684
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16685
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:01:24.655844"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:01:24.656418"]]
|
16686
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16687
|
+
[1m[36mG5Updatable::Location Load (0.1ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
16688
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
|
16689
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16690
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16691
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
16692
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16693
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:01:24.660786"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:01:24.661363"]]
|
16694
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16695
|
+
[1m[36mG5Updatable::Location Load (0.1ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
16696
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
|
16697
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16698
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16699
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
16700
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16701
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:01:24.665598"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:01:24.666207"]]
|
16702
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16703
|
+
[1m[36mG5Updatable::Location Load (0.1ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
16704
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16705
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:01:24.668707"], ["updated_at", "2015-09-29 17:01:24.668707"]]
|
16706
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16707
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16708
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:24.670528"], ["updated_at", "2015-09-29 17:01:24.670528"]]
|
16709
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16710
|
+
[1m[35mG5Updatable::Client Load (0.3ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1 [["id", 82]]
|
16711
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1[0m [["id", 157]]
|
16712
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
16713
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16714
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
16715
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16716
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:01:24.674798"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:01:24.675394"]]
|
16717
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16718
|
+
[1m[35mG5Updatable::Location Load (0.1ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
16719
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1[0m
|
16720
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16721
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16722
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
16723
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16724
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:01:24.680222"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:01:24.680828"]]
|
16725
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16726
|
+
[1m[35mG5Updatable::Location Load (0.1ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
16727
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1[0m
|
16728
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16729
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16730
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
16731
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "another_urn"], ["client_uid", "client_uid"], ["name", "Location Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:01:24.685553"], ["updated_at", "2015-09-29 17:01:24.685553"]]
|
16732
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16733
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16734
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "some_urn"], ["client_uid", "another_client_uid"], ["name", "Location Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:01:24.687860"], ["updated_at", "2015-09-29 17:01:24.687860"]]
|
16735
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16736
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
16737
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16738
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 [["id", 160]]
|
16739
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16740
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
16741
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "another_client_uid"]]
|
16742
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16743
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16744
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16745
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "old"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:24.694344"], ["updated_at", "2015-09-29 17:01:24.694344"]]
|
16746
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16747
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
16748
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16749
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "g5_updatable_locations" SET "urn" = $1, "name" = $2, "client_uid" = $3, "updated_at" = $4, "properties" = $5 WHERE "g5_updatable_locations"."id" = $6[0m [["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:01:24.696974"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 162]]
|
16750
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16751
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
16752
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
16753
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16754
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16755
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "old"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:24.701725"], ["updated_at", "2015-09-29 17:01:24.701725"]]
|
16756
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16757
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
16758
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16759
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "g5_updatable_locations" SET "urn" = $1, "name" = $2, "client_uid" = $3, "updated_at" = $4, "properties" = $5 WHERE "g5_updatable_locations"."id" = $6[0m [["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:01:24.703427"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 163]]
|
16760
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16761
|
+
[1m[36mG5Updatable::Location Load (0.1ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
16762
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "g5_updatable_locations"
|
16763
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16764
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16765
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16766
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "old"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:24.707724"], ["updated_at", "2015-09-29 17:01:24.707724"]]
|
16767
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16768
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
16769
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16770
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "g5_updatable_locations" SET "urn" = $1, "name" = $2, "client_uid" = $3, "updated_at" = $4, "properties" = $5 WHERE "g5_updatable_locations"."id" = $6 [["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:01:24.709773"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 164]]
|
16771
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16772
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
16773
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16774
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:01:24.713207"], ["updated_at", "2015-09-29 17:01:24.713207"]]
|
16775
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16776
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16777
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:24.715024"], ["updated_at", "2015-09-29 17:01:24.715024"]]
|
16778
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16779
|
+
[1m[36mG5Updatable::Client Load (0.2ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1[0m [["id", 83]]
|
16780
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 165]]
|
16781
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16782
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16783
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16784
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "old"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:24.718747"], ["updated_at", "2015-09-29 17:01:24.718747"]]
|
16785
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16786
|
+
[1m[35mG5Updatable::Location Load (0.1ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
16787
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16788
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "g5_updatable_locations" SET "urn" = $1, "name" = $2, "client_uid" = $3, "updated_at" = $4, "properties" = $5 WHERE "g5_updatable_locations"."id" = $6 [["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:01:24.720461"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 166]]
|
16789
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16790
|
+
[1m[35mG5Updatable::Location Load (0.1ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
16791
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1[0m
|
16792
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16793
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16794
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16795
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "old"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:01:24.725157"], ["updated_at", "2015-09-29 17:01:24.725157"]]
|
16796
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16797
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
16798
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16799
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "g5_updatable_locations" SET "urn" = $1, "name" = $2, "client_uid" = $3, "updated_at" = $4, "properties" = $5 WHERE "g5_updatable_locations"."id" = $6[0m [["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:01:24.726891"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 167]]
|
16800
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
16801
|
+
[1m[36mG5Updatable::Location Load (0.1ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
16802
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
|
16803
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
16804
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16805
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16806
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16807
|
+
[1m[36mG5Updatable::Location Load (0.1ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
16808
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16809
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:01:24.732242"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:01:24.732771"]]
|
16810
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16811
|
+
[1m[36mG5Updatable::Location Load (0.1ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
16812
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" ASC LIMIT 1
|
16813
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
16814
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16815
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16816
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
16817
|
+
[1m[35m (0.3ms)[0m BEGIN
|
16818
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
16819
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16820
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
16821
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16822
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
16823
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16824
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
16825
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16826
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16827
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16828
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16829
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16830
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16831
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16832
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16833
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16834
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16835
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16836
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16837
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16838
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16839
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16840
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16841
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16842
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
16843
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:02:27.279112"], ["updated_at", "2015-09-29 17:02:27.279112"]]
|
16844
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16845
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16846
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:02:27.288879"], ["updated_at", "2015-09-29 17:02:27.288879"]]
|
16847
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16848
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16849
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:02:27.292176"], ["updated_at", "2015-09-29 17:02:27.292176"]]
|
16850
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16851
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16852
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:02:27.294356"], ["updated_at", "2015-09-29 17:02:27.294356"]]
|
16853
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
16854
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16855
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:02:27.296782"], ["updated_at", "2015-09-29 17:02:27.296782"]]
|
16856
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16857
|
+
Processing by G5Updatable::SyncsController#index as HTML
|
16858
|
+
Parameters: {"urn"=>"xxx"}
|
16859
|
+
[1m[35mG5Updatable::Client Load (0.4ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."urn" = $1 LIMIT 1 [["urn", "xxx"]]
|
16860
|
+
Completed 404 Not Found in 5ms (ActiveRecord: 0.4ms)
|
16861
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
16862
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16863
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16864
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:02:27.308323"], ["updated_at", "2015-09-29 17:02:27.308323"]]
|
16865
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16866
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16867
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:02:27.310479"], ["updated_at", "2015-09-29 17:02:27.310479"]]
|
16868
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16869
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16870
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:02:27.312425"], ["updated_at", "2015-09-29 17:02:27.312425"]]
|
16871
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16872
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16873
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:02:27.314110"], ["updated_at", "2015-09-29 17:02:27.314110"]]
|
16874
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16875
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16876
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:02:27.315992"], ["updated_at", "2015-09-29 17:02:27.315992"]]
|
16877
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16878
|
+
Processing by G5Updatable::SyncsController#index as HTML
|
16879
|
+
Parameters: {"urn"=>"g5-c-1234-client"}
|
16880
|
+
[1m[35mG5Updatable::Client Load (0.3ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."urn" = $1 LIMIT 1 [["urn", "g5-c-1234-client"]]
|
16881
|
+
[1m[36m (0.9ms)[0m [1mSELECT MAX("g5_updatable_locations"."updated_at") FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "http://example.com/clients/g5-c-1234-client"]]
|
16882
|
+
Completed 200 OK in 11ms (Views: 1.2ms | ActiveRecord: 1.2ms)
|
16883
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
16884
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16885
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
16886
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16887
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16888
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "old"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:02:27.335085"], ["updated_at", "2015-09-29 17:02:27.335085"]]
|
16889
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16890
|
+
[1m[36mG5Updatable::Client Load (0.2ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
16891
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16892
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "g5_updatable_clients" SET "urn" = $1, "name" = $2, "updated_at" = $3, "properties" = $4 WHERE "g5_updatable_clients"."id" = $5[0m [["urn", "urn"], ["name", "Client Name"], ["updated_at", "2015-09-29 17:02:27.337558"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["id", 88]]
|
16893
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16894
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "g5_updatable_clients"[0m
|
16895
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
16896
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16897
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16898
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "old"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:02:27.342665"], ["updated_at", "2015-09-29 17:02:27.342665"]]
|
16899
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16900
|
+
[1m[36mG5Updatable::Client Load (0.2ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
16901
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16902
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "g5_updatable_clients" SET "urn" = $1, "name" = $2, "updated_at" = $3, "properties" = $4 WHERE "g5_updatable_clients"."id" = $5[0m [["urn", "urn"], ["name", "Client Name"], ["updated_at", "2015-09-29 17:02:27.344540"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["id", 89]]
|
16903
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16904
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16905
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-09-29 17:02:27.346954"], ["updated_at", "2015-09-29 17:02:27.346954"]]
|
16906
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16907
|
+
[1m[35mG5Updatable::Client Load (0.5ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
|
16908
|
+
[1m[36mG5Updatable::Client Load (0.3ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
16909
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16910
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "g5_updatable_clients" SET "updated_at" = $1 WHERE "g5_updatable_clients"."id" = $2[0m [["updated_at", "2015-09-29 17:02:27.349861"], ["id", 90]]
|
16911
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16912
|
+
[1m[36mG5Updatable::Client Load (0.2ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1[0m [["id", 89]]
|
16913
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16914
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16915
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16916
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "old"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:02:27.354269"], ["updated_at", "2015-09-29 17:02:27.354269"]]
|
16917
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16918
|
+
[1m[36mG5Updatable::Client Load (0.2ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
16919
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16920
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "g5_updatable_clients" SET "urn" = $1, "name" = $2, "updated_at" = $3, "properties" = $4 WHERE "g5_updatable_clients"."id" = $5[0m [["urn", "urn"], ["name", "Client Name"], ["updated_at", "2015-09-29 17:02:27.355941"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["id", 91]]
|
16921
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16922
|
+
[1m[36mG5Updatable::Client Load (0.3ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1[0m
|
16923
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16924
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16925
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16926
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "old"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:02:27.359764"], ["updated_at", "2015-09-29 17:02:27.359764"]]
|
16927
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16928
|
+
[1m[36mG5Updatable::Client Load (0.2ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
16929
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16930
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "g5_updatable_clients" SET "urn" = $1, "name" = $2, "updated_at" = $3, "properties" = $4 WHERE "g5_updatable_clients"."id" = $5[0m [["urn", "urn"], ["name", "Client Name"], ["updated_at", "2015-09-29 17:02:27.361452"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["id", 92]]
|
16931
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16932
|
+
[1m[36mG5Updatable::Client Load (0.3ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1[0m
|
16933
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16934
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16935
|
+
[1m[35mG5Updatable::Client Load (0.2ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
16936
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16937
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["updated_at", "2015-09-29 17:02:27.365243"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-09-29 17:02:27.365706"]]
|
16938
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16939
|
+
[1m[35mG5Updatable::Client Load (0.3ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
|
16940
|
+
[1m[36mG5Updatable::Client Load (0.2ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."name" = $1 LIMIT 1[0m [["name", "Client Name"]]
|
16941
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
16942
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16943
|
+
[1m[35mG5Updatable::Client Load (0.2ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
16944
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16945
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["updated_at", "2015-09-29 17:02:27.370629"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-09-29 17:02:27.371111"]]
|
16946
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16947
|
+
[1m[35mG5Updatable::Client Load (0.3ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
|
16948
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16949
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16950
|
+
[1m[36mG5Updatable::Client Load (0.1ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
16951
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16952
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["updated_at", "2015-09-29 17:02:27.374143"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-09-29 17:02:27.374613"]]
|
16953
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16954
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "g5_updatable_clients"[0m
|
16955
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16956
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16957
|
+
[1m[35mG5Updatable::Client Load (0.1ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
16958
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16959
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["updated_at", "2015-09-29 17:02:27.377488"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-09-29 17:02:27.377935"]]
|
16960
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16961
|
+
[1m[35mG5Updatable::Client Load (0.3ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
|
16962
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16963
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16964
|
+
[1m[36mG5Updatable::Client Load (0.1ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
16965
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16966
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["updated_at", "2015-09-29 17:02:27.380971"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-09-29 17:02:27.381442"]]
|
16967
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16968
|
+
[1m[36mG5Updatable::Client Load (0.3ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1[0m
|
16969
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16970
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16971
|
+
[1m[35mG5Updatable::Client Load (0.1ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
16972
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16973
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["updated_at", "2015-09-29 17:02:27.384455"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-09-29 17:02:27.384913"]]
|
16974
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16975
|
+
[1m[35mG5Updatable::Client Load (0.3ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
|
16976
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
16977
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16978
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
16979
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16980
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16981
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:02:27.389833"], ["updated_at", "2015-09-29 17:02:27.389833"]]
|
16982
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16983
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16984
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "another_urn"], ["client_uid", "something_else"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:02:27.391655"], ["updated_at", "2015-09-29 17:02:27.391655"]]
|
16985
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16986
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1[0m [["urn", "g5-cl-1234-location"]]
|
16987
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
16988
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
16989
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
16990
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:02:27.394991"], ["updated_at", "2015-09-29 17:02:27.394991"]]
|
16991
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16992
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16993
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "another_urn"], ["client_uid", "something_else"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:02:27.396838"], ["updated_at", "2015-09-29 17:02:27.396838"]]
|
16994
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16995
|
+
[1m[35m (0.4ms)[0m SELECT MAX("g5_updatable_locations"."updated_at") FROM "g5_updatable_locations"
|
16996
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
16997
|
+
[1m[35m (0.1ms)[0m BEGIN
|
16998
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16999
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:02:27.400474"], ["updated_at", "2015-09-29 17:02:27.400474"]]
|
17000
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17001
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17002
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "another_urn"], ["client_uid", "something_else"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:02:27.402205"], ["updated_at", "2015-09-29 17:02:27.402205"]]
|
17003
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
17004
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "http://example.com/clients/g5-c-1234-client"]]
|
17005
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
17006
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17007
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17008
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:02:27.405338"], ["updated_at", "2015-09-29 17:02:27.405338"]]
|
17009
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
17010
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
17011
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:02:27.407272"], ["updated_at", "2015-09-29 17:02:27.407272"]]
|
17012
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17013
|
+
[1m[35mG5Updatable::Client Load (0.2ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/clients/g5-c-1234-client"]]
|
17014
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
17015
|
+
[1m[35m (0.1ms)[0m BEGIN
|
17016
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17017
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "madeup"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:02:27.410784"], ["updated_at", "2015-09-29 17:02:27.410784"]]
|
17018
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17019
|
+
[1m[35mG5Updatable::Client Load (0.1ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "madeup"]]
|
17020
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
17021
|
+
[1m[35m (0.1ms)[0m BEGIN
|
17022
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17023
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:02:27.413558"], ["updated_at", "2015-09-29 17:02:27.413558"]]
|
17024
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17025
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17026
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:02:27.415255"], ["updated_at", "2015-09-29 17:02:27.415255"]]
|
17027
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
17028
|
+
[1m[36mG5Updatable::Client Load (0.1ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/clients/g5-c-1234-client"]]
|
17029
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
17030
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17031
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
17032
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17033
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
17034
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17035
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17036
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"key\":\"value\"}"], ["created_at", "2015-09-29 17:02:27.420695"], ["updated_at", "2015-09-29 17:02:27.420695"]]
|
17037
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
17038
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1[0m [["id", 184]]
|
17039
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
17040
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17041
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
17042
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17043
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
17044
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17045
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
17046
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
17047
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
17048
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:02:27.442919"], ["updated_at", "2015-09-29 17:02:27.442919"]]
|
17049
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
17050
|
+
Processing by G5Updatable::LocationsController#show as HTML
|
17051
|
+
Parameters: {"urn"=>"g5-cl-1234-location"}
|
17052
|
+
[1m[36mG5Updatable::Location Load (0.4ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 LIMIT 1[0m [["urn", "g5-cl-1234-location"]]
|
17053
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.4ms)
|
17054
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
17055
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17056
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
17057
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:02:27.451162"], ["updated_at", "2015-09-29 17:02:27.451162"]]
|
17058
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
17059
|
+
Processing by G5Updatable::LocationsController#show as HTML
|
17060
|
+
Parameters: {"urn"=>"g5-cl-1234-location"}
|
17061
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 LIMIT 1[0m [["urn", "g5-cl-1234-location"]]
|
17062
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
17063
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
17064
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17065
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
17066
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17067
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
17068
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17069
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:02:27.457911"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:02:27.458504"]]
|
17070
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17071
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
17072
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" ASC LIMIT 1[0m
|
17073
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
17074
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17075
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
17076
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17077
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17078
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "another_urn"], ["client_uid", "client_uid"], ["name", "Location Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:02:27.465715"], ["updated_at", "2015-09-29 17:02:27.465715"]]
|
17079
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
17080
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17081
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "some_urn"], ["client_uid", "another_client_uid"], ["name", "Location Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:02:27.467827"], ["updated_at", "2015-09-29 17:02:27.467827"]]
|
17082
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17083
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
17084
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17085
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 [["id", 188]]
|
17086
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17087
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
17088
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "another_client_uid"]]
|
17089
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
17090
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17091
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17092
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "old"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:02:27.473540"], ["updated_at", "2015-09-29 17:02:27.473540"]]
|
17093
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
17094
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
17095
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
17096
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "g5_updatable_locations" SET "urn" = $1, "name" = $2, "client_uid" = $3, "updated_at" = $4, "properties" = $5 WHERE "g5_updatable_locations"."id" = $6[0m [["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:02:27.476042"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 190]]
|
17097
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
17098
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
17099
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
17100
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17101
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17102
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["client_uid", "client_uid"], ["name", "Location Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:02:27.481054"], ["updated_at", "2015-09-29 17:02:27.481054"]]
|
17103
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
17104
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1[0m
|
17105
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
17106
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17107
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "g5_updatable_locations" SET "updated_at" = $1 WHERE "g5_updatable_locations"."id" = $2 [["updated_at", "2015-09-29 17:02:27.483805"], ["id", 191]]
|
17108
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17109
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
17110
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1[0m [["id", 191]]
|
17111
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
17112
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17113
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
17114
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["client_uid", "client_uid"], ["name", "Location Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:02:27.522872"], ["updated_at", "2015-09-29 17:02:27.522872"]]
|
17115
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
17116
|
+
[1m[36mG5Updatable::Location Load (0.4ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1[0m
|
17117
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
17118
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17119
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "g5_updatable_locations" SET "updated_at" = $1 WHERE "g5_updatable_locations"."id" = $2 [["updated_at", "2015-09-29 17:02:27.526140"], ["id", 192]]
|
17120
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17121
|
+
[1m[35mG5Updatable::Location Load (0.4ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
17122
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
17123
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:02:27.530083"], ["updated_at", "2015-09-29 17:02:27.530083"]]
|
17124
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17125
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
17126
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:02:27.533240"], ["updated_at", "2015-09-29 17:02:27.533240"]]
|
17127
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
17128
|
+
[1m[36mG5Updatable::Client Load (0.4ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1[0m [["id", 101]]
|
17129
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 193]]
|
17130
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
17131
|
+
[1m[35m (0.1ms)[0m BEGIN
|
17132
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
17133
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "another_uid"], ["urn", "dead_urn"], ["client_uid", "client_uid"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:02:27.539328"], ["updated_at", "2015-09-29 17:02:27.539328"]]
|
17134
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17135
|
+
[1m[35mG5Updatable::Location Load (0.4ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
17136
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
17137
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:02:27.542241"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:02:27.543030"]]
|
17138
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17139
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
17140
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17141
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 [["id", 194]]
|
17142
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17143
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 AND "g5_updatable_locations"."client_uid" = $2 [["urn", "urn"], ["client_uid", "client_uid"]]
|
17144
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 AND "g5_updatable_locations"."client_uid" = $2[0m [["urn", "dead_urn"], ["client_uid", "client_uid"]]
|
17145
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
17146
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17147
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17148
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "old"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:02:27.550892"], ["updated_at", "2015-09-29 17:02:27.550892"]]
|
17149
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
17150
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
17151
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17152
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "g5_updatable_locations" SET "urn" = $1, "name" = $2, "client_uid" = $3, "updated_at" = $4, "properties" = $5 WHERE "g5_updatable_locations"."id" = $6[0m [["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:02:27.553089"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 196]]
|
17153
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
17154
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
17155
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "g5_updatable_locations"
|
17156
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
17157
|
+
[1m[35m (0.1ms)[0m BEGIN
|
17158
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17159
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "old"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:02:27.558052"], ["updated_at", "2015-09-29 17:02:27.558052"]]
|
17160
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17161
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
17162
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17163
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "g5_updatable_locations" SET "urn" = $1, "name" = $2, "client_uid" = $3, "updated_at" = $4, "properties" = $5 WHERE "g5_updatable_locations"."id" = $6 [["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:02:27.560173"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 197]]
|
17164
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17165
|
+
[1m[35mG5Updatable::Location Load (0.1ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
17166
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17167
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:02:27.563711"], ["updated_at", "2015-09-29 17:02:27.563711"]]
|
17168
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17169
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17170
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:02:27.565633"], ["updated_at", "2015-09-29 17:02:27.565633"]]
|
17171
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
17172
|
+
[1m[36mG5Updatable::Client Load (0.3ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1[0m [["id", 102]]
|
17173
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 198]]
|
17174
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
17175
|
+
[1m[35m (0.1ms)[0m BEGIN
|
17176
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17177
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "old"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:02:27.569604"], ["updated_at", "2015-09-29 17:02:27.569604"]]
|
17178
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17179
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
17180
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17181
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "g5_updatable_locations" SET "urn" = $1, "name" = $2, "client_uid" = $3, "updated_at" = $4, "properties" = $5 WHERE "g5_updatable_locations"."id" = $6 [["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:02:27.571568"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 199]]
|
17182
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17183
|
+
[1m[35mG5Updatable::Location Load (0.1ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
17184
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1[0m
|
17185
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
17186
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17187
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17188
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "old"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:02:27.576719"], ["updated_at", "2015-09-29 17:02:27.576719"]]
|
17189
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
17190
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
17191
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17192
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "g5_updatable_locations" SET "urn" = $1, "name" = $2, "client_uid" = $3, "updated_at" = $4, "properties" = $5 WHERE "g5_updatable_locations"."id" = $6[0m [["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:02:27.578665"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 200]]
|
17193
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
17194
|
+
[1m[36mG5Updatable::Location Load (0.1ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
17195
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
|
17196
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
17197
|
+
[1m[35m (0.1ms)[0m BEGIN
|
17198
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
17199
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17200
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:02:27.583625"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:02:27.584219"]]
|
17201
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
17202
|
+
[1m[36mG5Updatable::Location Load (0.1ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
17203
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
|
17204
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."name" = $1 LIMIT 1[0m [["name", "Location Name"]]
|
17205
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
17206
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17207
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
17208
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17209
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:02:27.589277"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:02:27.589861"]]
|
17210
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17211
|
+
[1m[35mG5Updatable::Location Load (0.1ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
17212
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1[0m
|
17213
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
17214
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17215
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
17216
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17217
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:02:27.594053"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:02:27.594639"]]
|
17218
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17219
|
+
[1m[35mG5Updatable::Location Load (0.1ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
17220
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "g5_updatable_locations"[0m
|
17221
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
17222
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17223
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
17224
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17225
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:02:27.598905"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:02:27.599482"]]
|
17226
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17227
|
+
[1m[35mG5Updatable::Location Load (0.1ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
17228
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1[0m
|
17229
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
17230
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17231
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
17232
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17233
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:02:27.603880"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:02:27.604466"]]
|
17234
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17235
|
+
[1m[35mG5Updatable::Location Load (0.1ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
17236
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17237
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:02:27.607150"], ["updated_at", "2015-09-29 17:02:27.607150"]]
|
17238
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17239
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17240
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:02:27.609171"], ["updated_at", "2015-09-29 17:02:27.609171"]]
|
17241
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
17242
|
+
[1m[36mG5Updatable::Client Load (0.3ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1[0m [["id", 103]]
|
17243
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 206]]
|
17244
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
17245
|
+
[1m[35m (0.1ms)[0m BEGIN
|
17246
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
17247
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17248
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:02:27.613583"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:02:27.614167"]]
|
17249
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
17250
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
17251
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
|
17252
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
17253
|
+
[1m[35m (0.1ms)[0m BEGIN
|
17254
|
+
[1m[36mG5Updatable::Location Load (0.1ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
17255
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17256
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:02:27.618364"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:02:27.618876"]]
|
17257
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
17258
|
+
[1m[36mG5Updatable::Location Load (0.1ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
17259
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
|
17260
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
17261
|
+
[1m[35m (0.1ms)[0m BEGIN
|
17262
|
+
[1m[36mG5Updatable::Location Load (0.1ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
17263
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17264
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-09-29 17:02:27.622652"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-09-29 17:02:27.623146"]]
|
17265
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
17266
|
+
[1m[36mG5Updatable::Location Load (0.1ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
17267
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
|
17268
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
17269
|
+
[1m[35m (0.1ms)[0m BEGIN
|
17270
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
17271
|
+
[1m[35m (0.1ms)[0m BEGIN
|
17272
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
17273
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:02:27.633835"], ["updated_at", "2015-09-29 17:02:27.633835"]]
|
17274
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17275
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17276
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-09-29 17:02:27.636187"], ["updated_at", "2015-09-29 17:02:27.636187"]]
|
17277
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
17278
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "http://example.com/clients/g5-c-1234-client"]]
|
17279
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
17280
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17281
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
17282
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17283
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
17284
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17285
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
17286
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17287
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17288
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"key\":\"value\"}"], ["created_at", "2015-09-29 17:02:27.643257"], ["updated_at", "2015-09-29 17:02:27.643257"]]
|
17289
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
17290
|
+
[1m[36mG5Updatable::Client Load (0.2ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1[0m [["id", 105]]
|
17291
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
17292
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17293
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
17294
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17295
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
17296
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
17297
|
+
[1m[35m (0.4ms)[0m BEGIN
|
17298
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
17299
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "old"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-09-29 17:05:14.291751"], ["updated_at", "2015-09-29 17:05:14.291751"]]
|
17300
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17301
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM "g5_updatable_clients"
|
17302
|
+
[1m[36mG5Updatable::Client Load (1.0ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1[0m
|
17303
|
+
[1m[35mG5Updatable::Client Load (0.5ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
17304
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
17305
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "g5_updatable_clients" SET "urn" = $1, "name" = $2, "updated_at" = $3, "properties" = $4 WHERE "g5_updatable_clients"."id" = $5 [["urn", "urn"], ["name", "Client Name"], ["updated_at", "2015-09-29 17:07:29.057221"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["id", 106]]
|
17306
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17307
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
17308
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-09-29 17:07:29.062331"], ["updated_at", "2015-09-29 17:07:29.062331"]]
|
17309
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
17310
|
+
[1m[36mG5Updatable::Client Load (0.3ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1[0m
|
17311
|
+
[1m[35mG5Updatable::Client Load (0.5ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
17312
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
17313
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "g5_updatable_clients" SET "updated_at" = $1 WHERE "g5_updatable_clients"."id" = $2 [["updated_at", "2015-09-29 17:07:30.629700"], ["id", 107]]
|
17314
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17315
|
+
[1m[35mG5Updatable::Client Load (0.3ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1 [["id", 106]]
|
17316
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
17317
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
17318
|
+
[1m[35m (0.4ms)[0m BEGIN
|
17319
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
17320
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-09-29 17:08:00.550812"], ["updated_at", "2015-09-29 17:08:00.550812"]]
|
17321
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17322
|
+
[1m[35mG5Updatable::Client Load (0.7ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
|
17323
|
+
[1m[36mG5Updatable::Client Load (0.3ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
17324
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17325
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "g5_updatable_clients" SET "updated_at" = $1 WHERE "g5_updatable_clients"."id" = $2[0m [["updated_at", "2015-09-29 17:08:00.560286"], ["id", 108]]
|
17326
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
17327
|
+
[1m[36mG5Updatable::Client Load (0.2ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1[0m [["id", 108]]
|
17328
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|