g5_updatable 0.10.1 → 0.10.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -15862,3 +15862,1467 @@ Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.6ms)
15862
15862
   (0.2ms) ROLLBACK
15863
15863
   (0.2ms) BEGIN
15864
15864
   (0.2ms) ROLLBACK
15865
+ ActiveRecord::SchemaMigration Load (3.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
15866
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
15867
+  (0.9ms) BEGIN
15868
+  (0.7ms) SAVEPOINT active_record_1
15869
+ SQL (5.6ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
15871
+  (0.1ms) SAVEPOINT active_record_1
15872
+ SQL (0.7ms) 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.708662"], ["updated_at", "2015-09-29 17:01:03.708662"]]
15873
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15874
+  (0.1ms) SAVEPOINT active_record_1
15875
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15877
+  (0.1ms) SAVEPOINT active_record_1
15878
+ SQL (0.3ms) 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.713251"], ["updated_at", "2015-09-29 17:01:03.713251"]]
15879
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15880
+  (0.2ms) SAVEPOINT active_record_1
15881
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15883
+ Processing by G5Updatable::SyncsController#index as HTML
15884
+ Parameters: {"urn"=>"g5-c-1234-client"}
15885
+ G5Updatable::Client Load (1.2ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."urn" = $1 LIMIT 1 [["urn", "g5-c-1234-client"]]
15886
+  (1.3ms) SELECT MAX("g5_updatable_locations"."updated_at") FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1 [["client_uid", "http://example.com/clients/g5-c-1234-client"]]
15887
+ Completed 200 OK in 21ms (Views: 1.3ms | ActiveRecord: 2.5ms)
15888
+  (1.1ms) ROLLBACK
15889
+  (0.1ms) BEGIN
15890
+  (0.1ms) SAVEPOINT active_record_1
15891
+ SQL (0.3ms) 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.744181"], ["updated_at", "2015-09-29 17:01:03.744181"]]
15892
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15893
+  (0.1ms) SAVEPOINT active_record_1
15894
+ SQL (0.3ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
15896
+  (0.2ms) SAVEPOINT active_record_1
15897
+ SQL (0.3ms) 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.748425"], ["updated_at", "2015-09-29 17:01:03.748425"]]
15898
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15899
+  (0.1ms) SAVEPOINT active_record_1
15900
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15902
+  (0.1ms) SAVEPOINT active_record_1
15903
+ SQL (0.2ms) 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.752051"], ["updated_at", "2015-09-29 17:01:03.752051"]]
15904
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15905
+ Processing by G5Updatable::SyncsController#index as HTML
15906
+ Parameters: {"urn"=>"xxx"}
15907
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."urn" = $1 LIMIT 1 [["urn", "xxx"]]
15908
+ Completed 404 Not Found in 1ms (ActiveRecord: 0.3ms)
15909
+  (0.1ms) ROLLBACK
15910
+  (0.1ms) BEGIN
15911
+  (0.2ms) ROLLBACK
15912
+  (0.1ms) BEGIN
15913
+ G5Updatable::Client Load (1.1ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
15914
+  (0.1ms) SAVEPOINT active_record_1
15915
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15917
+ G5Updatable::Client Load (0.5ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
15918
+ G5Updatable::Client Load (0.2ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."name" = $1 LIMIT 1 [["name", "Client Name"]]
15919
+  (0.1ms) ROLLBACK
15920
+  (0.1ms) BEGIN
15921
+ G5Updatable::Client Load (0.2ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
15922
+  (0.1ms) SAVEPOINT active_record_1
15923
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15925
+  (0.2ms) SELECT COUNT(*) FROM "g5_updatable_clients"
15926
+  (0.1ms) ROLLBACK
15927
+  (0.1ms) BEGIN
15928
+ G5Updatable::Client Load (0.2ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
15929
+  (0.1ms) SAVEPOINT active_record_1
15930
+ SQL (0.2ms) 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.775321"], ["updated_at", "2015-09-29 17:01:03.775321"]]
15931
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15932
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
15933
+  (0.1ms) ROLLBACK
15934
+  (0.1ms) BEGIN
15935
+ G5Updatable::Client Load (0.2ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
15936
+  (0.1ms) SAVEPOINT active_record_1
15937
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15939
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
15940
+  (0.1ms) ROLLBACK
15941
+  (0.1ms) BEGIN
15942
+ G5Updatable::Client Load (0.2ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
15943
+  (0.1ms) SAVEPOINT active_record_1
15944
+ SQL (0.2ms) 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.783481"], ["updated_at", "2015-09-29 17:01:03.783481"]]
15945
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15946
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
15947
+  (0.1ms) ROLLBACK
15948
+  (0.1ms) BEGIN
15949
+ G5Updatable::Client Load (0.2ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
15950
+  (0.1ms) SAVEPOINT active_record_1
15951
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15953
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
15954
+  (0.1ms) ROLLBACK
15955
+  (0.1ms) BEGIN
15956
+  (0.1ms) SAVEPOINT active_record_1
15957
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15959
+ G5Updatable::Client Load (0.2ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
15960
+  (0.1ms) SAVEPOINT active_record_1
15961
+ SQL (0.4ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
15963
+  (0.2ms) SELECT COUNT(*) FROM "g5_updatable_clients"
15964
+  (0.1ms) ROLLBACK
15965
+  (0.1ms) BEGIN
15966
+  (0.1ms) SAVEPOINT active_record_1
15967
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15969
+ G5Updatable::Client Load (0.2ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
15970
+  (0.1ms) SAVEPOINT active_record_1
15971
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15973
+  (0.1ms) ROLLBACK
15974
+  (0.1ms) BEGIN
15975
+  (0.1ms) SAVEPOINT active_record_1
15976
+ SQL (0.3ms) 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.803480"], ["updated_at", "2015-09-29 17:01:03.803480"]]
15977
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15978
+ G5Updatable::Client Load (0.2ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
15979
+  (0.1ms) SAVEPOINT active_record_1
15980
+ SQL (0.3ms) 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.805921"], ["id", 53]]
15981
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15982
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
15983
+  (0.1ms) ROLLBACK
15984
+  (0.1ms) BEGIN
15985
+  (0.1ms) SAVEPOINT active_record_1
15986
+ SQL (0.2ms) 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.809444"], ["updated_at", "2015-09-29 17:01:03.809444"]]
15987
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15988
+ G5Updatable::Client Load (0.2ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
15989
+  (0.1ms) SAVEPOINT active_record_1
15990
+ SQL (0.3ms) 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.811798"], ["id", 54]]
15991
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15992
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
15993
+  (0.1ms) ROLLBACK
15994
+  (0.1ms) BEGIN
15995
+  (0.1ms) SAVEPOINT active_record_1
15996
+ SQL (0.2ms) 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.815813"], ["updated_at", "2015-09-29 17:01:03.815813"]]
15997
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15998
+ Processing by G5Updatable::LocationsController#show as HTML
15999
+ Parameters: {"urn"=>"g5-cl-1234-location"}
16000
+ G5Updatable::Location Load (0.4ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 LIMIT 1 [["urn", "g5-cl-1234-location"]]
16001
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.4ms)
16002
+  (0.2ms) ROLLBACK
16003
+  (0.1ms) BEGIN
16004
+  (0.1ms) SAVEPOINT active_record_1
16005
+ SQL (0.3ms) 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.822509"], ["updated_at", "2015-09-29 17:01:03.822509"]]
16006
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16007
+ Processing by G5Updatable::LocationsController#show as HTML
16008
+ Parameters: {"urn"=>"g5-cl-1234-location"}
16009
+ G5Updatable::Location Load (0.4ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 LIMIT 1 [["urn", "g5-cl-1234-location"]]
16010
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.4ms)
16011
+  (0.2ms) ROLLBACK
16012
+  (0.2ms) BEGIN
16013
+  (0.2ms) SAVEPOINT active_record_1
16014
+ SQL (0.3ms) 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.829818"], ["updated_at", "2015-09-29 17:01:03.829818"]]
16015
+  (0.2ms) RELEASE SAVEPOINT active_record_1
16016
+  (0.1ms) SAVEPOINT active_record_1
16017
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16019
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 [["urn", "g5-cl-1234-location"]]
16020
+  (0.1ms) ROLLBACK
16021
+  (0.1ms) BEGIN
16022
+  (0.1ms) SAVEPOINT active_record_1
16023
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16025
+  (0.1ms) SAVEPOINT active_record_1
16026
+ SQL (0.2ms) 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.837040"], ["updated_at", "2015-09-29 17:01:03.837040"]]
16027
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16028
+ G5Updatable::Location Load (0.2ms) 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"]]
16029
+  (0.1ms) ROLLBACK
16030
+  (0.1ms) BEGIN
16031
+  (0.1ms) SAVEPOINT active_record_1
16032
+ SQL (0.2ms) 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.840275"], ["updated_at", "2015-09-29 17:01:03.840275"]]
16033
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16034
+  (0.1ms) SAVEPOINT active_record_1
16035
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16037
+  (0.3ms) SELECT MAX("g5_updatable_locations"."updated_at") FROM "g5_updatable_locations"
16038
+  (0.1ms) ROLLBACK
16039
+  (0.1ms) BEGIN
16040
+  (0.1ms) SAVEPOINT active_record_1
16041
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16043
+  (0.2ms) SAVEPOINT active_record_1
16044
+ SQL (0.2ms) 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.847323"], ["updated_at", "2015-09-29 17:01:03.847323"]]
16045
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16046
+ G5Updatable::Client Load (0.2ms) 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"]]
16047
+  (0.1ms) ROLLBACK
16048
+  (0.1ms) BEGIN
16049
+  (0.1ms) SAVEPOINT active_record_1
16050
+ SQL (0.2ms) 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.850855"], ["updated_at", "2015-09-29 17:01:03.850855"]]
16051
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16052
+  (0.1ms) SAVEPOINT active_record_1
16053
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16055
+ G5Updatable::Client Load (0.2ms) 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
+  (0.1ms) ROLLBACK
16057
+  (0.1ms) BEGIN
16058
+  (0.1ms) SAVEPOINT active_record_1
16059
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16061
+ G5Updatable::Client Load (0.1ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "madeup"]]
16062
+  (0.1ms) ROLLBACK
16063
+  (0.1ms) BEGIN
16064
+  (0.1ms) ROLLBACK
16065
+  (0.1ms) BEGIN
16066
+  (0.2ms) ROLLBACK
16067
+  (0.1ms) BEGIN
16068
+  (0.1ms) ROLLBACK
16069
+  (0.1ms) BEGIN
16070
+  (0.1ms) ROLLBACK
16071
+  (0.1ms) BEGIN
16072
+  (0.2ms) SAVEPOINT active_record_1
16073
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16075
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 102]]
16076
+  (0.1ms) ROLLBACK
16077
+  (0.1ms) BEGIN
16078
+  (0.1ms) ROLLBACK
16079
+  (0.1ms) BEGIN
16080
+  (0.1ms) ROLLBACK
16081
+  (0.1ms) BEGIN
16082
+  (0.1ms) ROLLBACK
16083
+  (0.1ms) BEGIN
16084
+  (0.1ms) ROLLBACK
16085
+  (0.1ms) BEGIN
16086
+  (0.1ms) ROLLBACK
16087
+  (0.1ms) BEGIN
16088
+  (0.1ms) ROLLBACK
16089
+  (0.1ms) BEGIN
16090
+  (0.1ms) ROLLBACK
16091
+  (0.1ms) BEGIN
16092
+  (0.3ms) ROLLBACK
16093
+  (0.2ms) BEGIN
16094
+  (0.1ms) SAVEPOINT active_record_1
16095
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16097
+ G5Updatable::Location Load (0.4ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16098
+  (0.1ms) SAVEPOINT active_record_1
16099
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16101
+ G5Updatable::Location Load (0.2ms) 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
+  (0.1ms) ROLLBACK
16103
+  (0.1ms) BEGIN
16104
+  (0.1ms) SAVEPOINT active_record_1
16105
+ SQL (0.3ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
16107
+  (0.1ms) SAVEPOINT active_record_1
16108
+ SQL (0.3ms) 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:03.919490"], ["updated_at", "2015-09-29 17:01:03.919490"]]
16109
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16110
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
16111
+  (0.1ms) SAVEPOINT active_record_1
16112
+ SQL (0.2ms) DELETE FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 [["id", 104]]
16113
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16114
+  (0.2ms) SELECT COUNT(*) FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
16115
+  (0.2ms) SELECT COUNT(*) FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1 [["client_uid", "another_client_uid"]]
16116
+  (0.1ms) ROLLBACK
16117
+  (0.1ms) BEGIN
16118
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16119
+  (0.1ms) SAVEPOINT active_record_1
16120
+ SQL (0.3ms) 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.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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16122
+ G5Updatable::Location Load (0.2ms) 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"]]
16123
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
16124
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."name" = $1 LIMIT 1 [["name", "Location Name"]]
16125
+  (0.1ms) ROLLBACK
16126
+  (0.1ms) BEGIN
16127
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16128
+  (0.1ms) SAVEPOINT active_record_1
16129
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16131
+ G5Updatable::Location Load (0.2ms) 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
+  (0.2ms) SELECT COUNT(*) FROM "g5_updatable_locations"
16133
+  (0.1ms) ROLLBACK
16134
+  (0.1ms) BEGIN
16135
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16136
+  (0.1ms) SAVEPOINT active_record_1
16137
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16139
+ G5Updatable::Location Load (0.2ms) 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
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
16141
+  (0.1ms) ROLLBACK
16142
+  (0.1ms) BEGIN
16143
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16144
+  (0.1ms) SAVEPOINT active_record_1
16145
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16147
+ G5Updatable::Location Load (0.2ms) 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
+  (0.1ms) SAVEPOINT active_record_1
16149
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16151
+  (0.1ms) SAVEPOINT active_record_1
16152
+ SQL (0.2ms) 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.948191"], ["updated_at", "2015-09-29 17:01:03.948191"]]
16153
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16154
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1 [["id", 57]]
16155
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 110]]
16156
+  (0.1ms) ROLLBACK
16157
+  (0.1ms) BEGIN
16158
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16159
+  (0.1ms) SAVEPOINT active_record_1
16160
+ SQL (0.3ms) 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.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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16162
+ G5Updatable::Location Load (0.3ms) 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"]]
16163
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
16164
+  (0.1ms) ROLLBACK
16165
+  (0.1ms) BEGIN
16166
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16167
+  (0.1ms) SAVEPOINT active_record_1
16168
+ SQL (0.3ms) 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.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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16170
+ G5Updatable::Location Load (0.1ms) 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"]]
16171
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
16172
+  (0.1ms) ROLLBACK
16173
+  (0.1ms) BEGIN
16174
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16175
+  (0.1ms) SAVEPOINT active_record_1
16176
+ SQL (0.2ms) 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.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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16178
+ G5Updatable::Location Load (0.1ms) 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"]]
16179
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
16180
+  (0.1ms) ROLLBACK
16181
+  (0.1ms) BEGIN
16182
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16183
+  (0.1ms) SAVEPOINT active_record_1
16184
+ SQL (0.2ms) 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.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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16186
+ G5Updatable::Location Load (0.1ms) 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"]]
16187
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
16188
+  (0.1ms) ROLLBACK
16189
+  (0.1ms) BEGIN
16190
+  (0.1ms) SAVEPOINT active_record_1
16191
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16193
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
16194
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16195
+  (0.2ms) SAVEPOINT active_record_1
16196
+ SQL (0.3ms) UPDATE "g5_updatable_locations" SET "updated_at" = $1 WHERE "g5_updatable_locations"."id" = $2 [["updated_at", "2015-09-29 17:01:04.007791"], ["id", 115]]
16197
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16198
+ G5Updatable::Location Load (0.2ms) 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"]]
16199
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 115]]
16200
+  (0.1ms) ROLLBACK
16201
+  (0.1ms) BEGIN
16202
+  (0.1ms) SAVEPOINT active_record_1
16203
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16205
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
16206
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16207
+  (0.1ms) SAVEPOINT active_record_1
16208
+ SQL (0.2ms) UPDATE "g5_updatable_locations" SET "updated_at" = $1 WHERE "g5_updatable_locations"."id" = $2 [["updated_at", "2015-09-29 17:01:04.016062"], ["id", 116]]
16209
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16210
+ G5Updatable::Location Load (0.2ms) 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"]]
16211
+  (0.1ms) SAVEPOINT active_record_1
16212
+ SQL (0.2ms) 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:04.019009"], ["updated_at", "2015-09-29 17:01:04.019009"]]
16213
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16214
+  (0.1ms) SAVEPOINT active_record_1
16215
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16217
+ G5Updatable::Client Load (0.2ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1 [["id", 58]]
16218
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 117]]
16219
+  (0.1ms) ROLLBACK
16220
+  (0.1ms) BEGIN
16221
+  (0.1ms) SAVEPOINT active_record_1
16222
+ SQL (0.3ms) 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:04.024840"], ["updated_at", "2015-09-29 17:01:04.024840"]]
16223
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16224
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16225
+  (0.1ms) SAVEPOINT active_record_1
16226
+ SQL (0.2ms) 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.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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16228
+ G5Updatable::Location Load (0.2ms) 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"]]
16229
+  (0.1ms) SAVEPOINT active_record_1
16230
+ SQL (0.2ms) DELETE FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 [["id", 118]]
16231
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16232
+  (0.2ms) 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"]]
16233
+  (0.2ms) 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
+  (0.1ms) ROLLBACK
16235
+  (0.1ms) BEGIN
16236
+  (0.1ms) SAVEPOINT active_record_1
16237
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16239
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16240
+  (0.1ms) SAVEPOINT active_record_1
16241
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16243
+ G5Updatable::Location Load (0.1ms) 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
+  (0.2ms) SELECT COUNT(*) FROM "g5_updatable_locations"
16245
+  (0.1ms) ROLLBACK
16246
+  (0.1ms) BEGIN
16247
+  (0.1ms) SAVEPOINT active_record_1
16248
+ SQL (0.2ms) 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.039380"], ["updated_at", "2015-09-29 17:01:04.039380"]]
16249
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16250
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16251
+  (0.1ms) SAVEPOINT active_record_1
16252
+ SQL (0.3ms) 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.041178"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 121]]
16253
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16254
+ G5Updatable::Location Load (0.1ms) 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"]]
16255
+  (0.1ms) SAVEPOINT active_record_1
16256
+ SQL (0.2ms) 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:04.044540"], ["updated_at", "2015-09-29 17:01:04.044540"]]
16257
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16258
+  (0.1ms) SAVEPOINT active_record_1
16259
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16261
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1 [["id", 59]]
16262
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 122]]
16263
+  (0.1ms) ROLLBACK
16264
+  (0.1ms) BEGIN
16265
+  (0.1ms) SAVEPOINT active_record_1
16266
+ SQL (0.2ms) 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.050471"], ["updated_at", "2015-09-29 17:01:04.050471"]]
16267
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16268
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16269
+  (0.1ms) SAVEPOINT active_record_1
16270
+ SQL (0.4ms) 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.052420"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 123]]
16271
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16272
+ G5Updatable::Location Load (0.1ms) 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"]]
16273
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
16274
+  (0.1ms) ROLLBACK
16275
+  (0.1ms) BEGIN
16276
+  (0.1ms) SAVEPOINT active_record_1
16277
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16279
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16280
+  (0.1ms) SAVEPOINT active_record_1
16281
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16283
+ G5Updatable::Location Load (0.1ms) 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
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
16285
+  (0.1ms) ROLLBACK
16286
+  (0.1ms) BEGIN
16287
+  (0.1ms) ROLLBACK
16288
+  (0.1ms) BEGIN
16289
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16290
+  (0.1ms) SAVEPOINT active_record_1
16291
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16293
+ G5Updatable::Location Load (0.1ms) 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
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" ASC LIMIT 1
16295
+  (0.1ms) ROLLBACK
16296
+  (0.1ms) BEGIN
16297
+  (0.1ms) SAVEPOINT active_record_1
16298
+ SQL (0.3ms) 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:04.070778"], ["updated_at", "2015-09-29 17:01:04.070778"]]
16299
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16300
+  (0.1ms) SAVEPOINT active_record_1
16301
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16303
+ G5Updatable::Location Load (0.2ms) 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
+  (0.1ms) ROLLBACK
16305
+  (0.1ms) BEGIN
16306
+  (0.1ms) ROLLBACK
16307
+  (0.1ms) BEGIN
16308
+  (0.2ms) ROLLBACK
16309
+  (0.1ms) BEGIN
16310
+  (0.2ms) ROLLBACK
16311
+  (0.1ms) BEGIN
16312
+  (0.1ms) SAVEPOINT active_record_1
16313
+ SQL (0.3ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
16315
+ G5Updatable::Client Load (0.4ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1 [["id", 61]]
16316
+  (0.2ms) ROLLBACK
16317
+  (0.1ms) BEGIN
16318
+  (0.1ms) ROLLBACK
16319
+  (0.1ms) BEGIN
16320
+  (0.1ms) ROLLBACK
16321
+  (0.1ms) BEGIN
16322
+  (0.1ms) ROLLBACK
16323
+  (0.1ms) BEGIN
16324
+  (0.1ms) ROLLBACK
16325
+  (0.1ms) BEGIN
16326
+  (0.1ms) ROLLBACK
16327
+  (0.1ms) BEGIN
16328
+  (0.1ms) ROLLBACK
16329
+  (0.1ms) BEGIN
16330
+  (0.1ms) ROLLBACK
16331
+  (0.1ms) BEGIN
16332
+  (0.1ms) ROLLBACK
16333
+  (0.1ms) BEGIN
16334
+  (0.1ms) ROLLBACK
16335
+  (0.1ms) BEGIN
16336
+  (0.1ms) ROLLBACK
16337
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
16338
+  (0.3ms) BEGIN
16339
+  (0.3ms) ROLLBACK
16340
+  (0.1ms) BEGIN
16341
+  (0.1ms) ROLLBACK
16342
+  (0.1ms) BEGIN
16343
+  (0.2ms) ROLLBACK
16344
+  (0.1ms) BEGIN
16345
+  (0.1ms) ROLLBACK
16346
+  (0.1ms) BEGIN
16347
+  (0.1ms) ROLLBACK
16348
+  (0.1ms) BEGIN
16349
+  (0.2ms) ROLLBACK
16350
+  (0.1ms) BEGIN
16351
+  (0.1ms) ROLLBACK
16352
+  (0.1ms) BEGIN
16353
+ G5Updatable::Client Load (0.5ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16354
+  (0.2ms) SAVEPOINT active_record_1
16355
+ SQL (0.7ms) 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.353409"], ["updated_at", "2015-09-29 17:01:24.353409"]]
16356
+  (0.3ms) RELEASE SAVEPOINT active_record_1
16357
+ G5Updatable::Client Load (0.9ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
16358
+ G5Updatable::Client Load (0.4ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."name" = $1 LIMIT 1 [["name", "Client Name"]]
16359
+  (0.2ms) ROLLBACK
16360
+  (0.1ms) BEGIN
16361
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16362
+  (0.1ms) SAVEPOINT active_record_1
16363
+ SQL (0.3ms) 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.364206"], ["updated_at", "2015-09-29 17:01:24.364206"]]
16364
+  (0.2ms) RELEASE SAVEPOINT active_record_1
16365
+  (0.3ms) SELECT COUNT(*) FROM "g5_updatable_clients"
16366
+  (0.2ms) ROLLBACK
16367
+  (0.1ms) BEGIN
16368
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16369
+  (0.1ms) SAVEPOINT active_record_1
16370
+ SQL (0.3ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
16372
+ G5Updatable::Client Load (0.4ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
16373
+  (0.1ms) ROLLBACK
16374
+  (0.1ms) BEGIN
16375
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16376
+  (0.1ms) SAVEPOINT active_record_1
16377
+ SQL (0.3ms) 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.374093"], ["updated_at", "2015-09-29 17:01:24.374093"]]
16378
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16379
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
16380
+  (0.1ms) ROLLBACK
16381
+  (0.1ms) BEGIN
16382
+ G5Updatable::Client Load (0.2ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16383
+  (0.1ms) SAVEPOINT active_record_1
16384
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16386
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
16387
+  (0.1ms) ROLLBACK
16388
+  (0.1ms) BEGIN
16389
+ G5Updatable::Client Load (0.2ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16390
+  (0.1ms) SAVEPOINT active_record_1
16391
+ SQL (0.2ms) 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.382307"], ["updated_at", "2015-09-29 17:01:24.382307"]]
16392
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16393
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
16394
+  (0.1ms) ROLLBACK
16395
+  (0.1ms) BEGIN
16396
+  (0.1ms) SAVEPOINT active_record_1
16397
+ SQL (0.2ms) 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.386007"], ["updated_at", "2015-09-29 17:01:24.386007"]]
16398
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16399
+ G5Updatable::Client Load (0.1ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16400
+  (0.1ms) SAVEPOINT active_record_1
16401
+ SQL (0.3ms) 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.388165"], ["id", 68]]
16402
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16403
+  (0.2ms) SELECT COUNT(*) FROM "g5_updatable_clients"
16404
+  (0.1ms) ROLLBACK
16405
+  (0.1ms) BEGIN
16406
+  (0.1ms) SAVEPOINT active_record_1
16407
+ SQL (0.2ms) 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.392417"], ["updated_at", "2015-09-29 17:01:24.392417"]]
16408
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16409
+ G5Updatable::Client Load (0.1ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16410
+  (0.1ms) SAVEPOINT active_record_1
16411
+ SQL (0.3ms) 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.394613"], ["id", 69]]
16412
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16413
+  (0.1ms) SAVEPOINT active_record_1
16414
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16416
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
16417
+ G5Updatable::Client Load (0.2ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16418
+  (0.1ms) SAVEPOINT active_record_1
16419
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16420
+ G5Updatable::Client Load (0.2ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1 [["id", 69]]
16421
+  (0.1ms) ROLLBACK
16422
+  (0.1ms) BEGIN
16423
+  (0.1ms) SAVEPOINT active_record_1
16424
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16426
+ G5Updatable::Client Load (0.2ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16427
+  (0.1ms) SAVEPOINT active_record_1
16428
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16430
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
16431
+  (0.1ms) ROLLBACK
16432
+  (0.2ms) BEGIN
16433
+  (0.2ms) SAVEPOINT active_record_1
16434
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16436
+ G5Updatable::Client Load (0.2ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16437
+  (0.1ms) SAVEPOINT active_record_1
16438
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16440
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
16441
+  (0.2ms) ROLLBACK
16442
+  (0.1ms) BEGIN
16443
+  (0.2ms) SAVEPOINT active_record_1
16444
+ SQL (0.8ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
16446
+ Processing by G5Updatable::LocationsController#show as HTML
16447
+ Parameters: {"urn"=>"g5-cl-1234-location"}
16448
+ G5Updatable::Location Load (0.5ms) 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
+  (0.2ms) ROLLBACK
16451
+  (0.1ms) BEGIN
16452
+  (0.2ms) SAVEPOINT active_record_1
16453
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16455
+ Processing by G5Updatable::LocationsController#show as HTML
16456
+ Parameters: {"urn"=>"g5-cl-1234-location"}
16457
+ G5Updatable::Location Load (0.3ms) 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
+  (0.2ms) ROLLBACK
16460
+  (0.1ms) BEGIN
16461
+  (0.2ms) ROLLBACK
16462
+  (0.1ms) BEGIN
16463
+  (0.2ms) ROLLBACK
16464
+  (0.1ms) BEGIN
16465
+  (0.1ms) SAVEPOINT active_record_1
16466
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16468
+  (0.1ms) SAVEPOINT active_record_1
16469
+ SQL (0.3ms) 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.452128"], ["updated_at", "2015-09-29 17:01:24.452128"]]
16470
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16471
+ G5Updatable::Location Load (0.3ms) 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"]]
16472
+  (0.1ms) ROLLBACK
16473
+  (0.1ms) BEGIN
16474
+  (0.1ms) ROLLBACK
16475
+  (0.1ms) BEGIN
16476
+  (0.1ms) SAVEPOINT active_record_1
16477
+ SQL (0.2ms) 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:24.466347"], ["updated_at", "2015-09-29 17:01:24.466347"]]
16478
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16479
+ G5Updatable::Client Load (0.2ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1 [["id", 74]]
16480
+  (0.1ms) ROLLBACK
16481
+  (0.1ms) BEGIN
16482
+  (0.1ms) ROLLBACK
16483
+  (0.1ms) BEGIN
16484
+  (0.1ms) ROLLBACK
16485
+  (0.1ms) BEGIN
16486
+  (0.1ms) ROLLBACK
16487
+  (0.1ms) BEGIN
16488
+  (0.2ms) ROLLBACK
16489
+  (0.1ms) BEGIN
16490
+  (0.1ms) ROLLBACK
16491
+  (0.1ms) BEGIN
16492
+  (0.2ms) SAVEPOINT active_record_1
16493
+ SQL (0.3ms) 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.487039"], ["updated_at", "2015-09-29 17:01:24.487039"]]
16494
+  (0.2ms) RELEASE SAVEPOINT active_record_1
16495
+  (0.2ms) SAVEPOINT active_record_1
16496
+ SQL (0.3ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
16498
+ G5Updatable::Client Load (0.2ms) 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
+  (0.1ms) ROLLBACK
16500
+  (0.2ms) BEGIN
16501
+  (0.1ms) SAVEPOINT active_record_1
16502
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16504
+  (0.1ms) SAVEPOINT active_record_1
16505
+ SQL (0.3ms) 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.499021"], ["updated_at", "2015-09-29 17:01:24.499021"]]
16506
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16507
+ G5Updatable::Client Load (0.2ms) 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"]]
16508
+  (0.1ms) ROLLBACK
16509
+  (0.1ms) BEGIN
16510
+  (0.1ms) SAVEPOINT active_record_1
16511
+ SQL (0.3ms) 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:24.502150"], ["updated_at", "2015-09-29 17:01:24.502150"]]
16512
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16513
+ G5Updatable::Client Load (0.1ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "madeup"]]
16514
+  (0.1ms) ROLLBACK
16515
+  (0.1ms) BEGIN
16516
+  (0.1ms) SAVEPOINT active_record_1
16517
+ SQL (0.2ms) 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.505107"], ["updated_at", "2015-09-29 17:01:24.505107"]]
16518
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16519
+  (0.1ms) SAVEPOINT active_record_1
16520
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16522
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 [["urn", "g5-cl-1234-location"]]
16523
+  (0.1ms) ROLLBACK
16524
+  (0.1ms) BEGIN
16525
+  (0.1ms) SAVEPOINT active_record_1
16526
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16528
+  (0.1ms) SAVEPOINT active_record_1
16529
+ SQL (0.2ms) 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.512021"], ["updated_at", "2015-09-29 17:01:24.512021"]]
16530
+  (0.2ms) RELEASE SAVEPOINT active_record_1
16531
+ G5Updatable::Location Load (0.2ms) 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"]]
16532
+  (0.1ms) ROLLBACK
16533
+  (0.1ms) BEGIN
16534
+  (0.1ms) SAVEPOINT active_record_1
16535
+ SQL (0.2ms) 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.515041"], ["updated_at", "2015-09-29 17:01:24.515041"]]
16536
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16537
+  (0.1ms) SAVEPOINT active_record_1
16538
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16540
+  (0.5ms) SELECT MAX("g5_updatable_locations"."updated_at") FROM "g5_updatable_locations"
16541
+  (0.2ms) ROLLBACK
16542
+  (0.1ms) BEGIN
16543
+  (0.1ms) ROLLBACK
16544
+  (0.1ms) BEGIN
16545
+  (0.1ms) SAVEPOINT active_record_1
16546
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16548
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 139]]
16549
+  (0.1ms) ROLLBACK
16550
+  (0.1ms) BEGIN
16551
+  (0.1ms) ROLLBACK
16552
+  (0.1ms) BEGIN
16553
+  (0.1ms) ROLLBACK
16554
+  (0.1ms) BEGIN
16555
+  (0.1ms) SAVEPOINT active_record_1
16556
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16558
+  (0.1ms) SAVEPOINT active_record_1
16559
+ SQL (0.3ms) 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.530309"], ["updated_at", "2015-09-29 17:01:24.530309"]]
16560
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16561
+  (0.3ms) SAVEPOINT active_record_1
16562
+ SQL (0.2ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
16564
+  (0.1ms) SAVEPOINT active_record_1
16565
+ SQL (0.2ms) 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.534191"], ["updated_at", "2015-09-29 17:01:24.534191"]]
16566
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16567
+  (0.1ms) SAVEPOINT active_record_1
16568
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16570
+ Processing by G5Updatable::SyncsController#index as HTML
16571
+ Parameters: {"urn"=>"g5-c-1234-client"}
16572
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."urn" = $1 LIMIT 1 [["urn", "g5-c-1234-client"]]
16573
+  (0.3ms) SELECT MAX("g5_updatable_locations"."updated_at") FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1 [["client_uid", "http://example.com/clients/g5-c-1234-client"]]
16574
+ Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.6ms)
16575
+  (0.2ms) ROLLBACK
16576
+  (0.1ms) BEGIN
16577
+  (0.1ms) SAVEPOINT active_record_1
16578
+ SQL (0.3ms) 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.544819"], ["updated_at", "2015-09-29 17:01:24.544819"]]
16579
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16580
+  (0.1ms) SAVEPOINT active_record_1
16581
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16583
+  (0.1ms) SAVEPOINT active_record_1
16584
+ SQL (0.2ms) 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.548849"], ["updated_at", "2015-09-29 17:01:24.548849"]]
16585
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16586
+  (0.1ms) SAVEPOINT active_record_1
16587
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16589
+  (0.2ms) SAVEPOINT active_record_1
16590
+ SQL (0.3ms) 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.552601"], ["updated_at", "2015-09-29 17:01:24.552601"]]
16591
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16592
+ Processing by G5Updatable::SyncsController#index as HTML
16593
+ Parameters: {"urn"=>"xxx"}
16594
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."urn" = $1 LIMIT 1 [["urn", "xxx"]]
16595
+ Completed 404 Not Found in 1ms (ActiveRecord: 0.3ms)
16596
+  (0.2ms) ROLLBACK
16597
+  (0.1ms) BEGIN
16598
+  (0.2ms) ROLLBACK
16599
+  (0.1ms) BEGIN
16600
+  (0.1ms) ROLLBACK
16601
+  (0.2ms) BEGIN
16602
+  (0.2ms) ROLLBACK
16603
+  (0.2ms) BEGIN
16604
+  (0.2ms) ROLLBACK
16605
+  (0.2ms) BEGIN
16606
+  (0.1ms) ROLLBACK
16607
+  (0.1ms) BEGIN
16608
+  (0.1ms) ROLLBACK
16609
+  (0.1ms) BEGIN
16610
+  (0.1ms) ROLLBACK
16611
+  (0.1ms) BEGIN
16612
+  (0.1ms) SAVEPOINT active_record_1
16613
+ SQL (0.3ms) 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:24.574776"], ["updated_at", "2015-09-29 17:01:24.574776"]]
16614
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16615
+ G5Updatable::Location Load (0.4ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
16616
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16617
+  (0.1ms) SAVEPOINT active_record_1
16618
+ SQL (0.2ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
16620
+ G5Updatable::Location Load (0.3ms) 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
+ G5Updatable::Location Load (0.4ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 146]]
16622
+  (0.2ms) ROLLBACK
16623
+  (0.1ms) BEGIN
16624
+  (0.1ms) SAVEPOINT active_record_1
16625
+ SQL (0.3ms) 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:24.585754"], ["updated_at", "2015-09-29 17:01:24.585754"]]
16626
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16627
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
16628
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16629
+  (0.1ms) SAVEPOINT active_record_1
16630
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16632
+ G5Updatable::Location Load (0.2ms) 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
+  (0.1ms) SAVEPOINT active_record_1
16634
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16636
+  (0.2ms) SAVEPOINT active_record_1
16637
+ SQL (0.3ms) 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.594270"], ["updated_at", "2015-09-29 17:01:24.594270"]]
16638
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16639
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1 [["id", 81]]
16640
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 148]]
16641
+  (0.1ms) ROLLBACK
16642
+  (31.1ms) BEGIN
16643
+  (0.2ms) SAVEPOINT active_record_1
16644
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16646
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16647
+  (0.1ms) SAVEPOINT active_record_1
16648
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16650
+ G5Updatable::Location Load (0.2ms) 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
+  (0.1ms) SAVEPOINT active_record_1
16652
+ SQL (0.2ms) DELETE FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 [["id", 149]]
16653
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16654
+  (0.3ms) 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
+  (0.2ms) 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"]]
16656
+  (0.1ms) ROLLBACK
16657
+  (0.1ms) BEGIN
16658
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16659
+  (0.1ms) SAVEPOINT active_record_1
16660
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16662
+ G5Updatable::Location Load (0.2ms) 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
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
16664
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."name" = $1 LIMIT 1 [["name", "Location Name"]]
16665
+  (0.1ms) ROLLBACK
16666
+  (0.1ms) BEGIN
16667
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16668
+  (0.1ms) SAVEPOINT active_record_1
16669
+ SQL (0.3ms) 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.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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16671
+ G5Updatable::Location Load (0.2ms) 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"]]
16672
+  (0.2ms) SELECT COUNT(*) FROM "g5_updatable_locations"
16673
+  (0.1ms) ROLLBACK
16674
+  (0.1ms) BEGIN
16675
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16676
+  (0.1ms) SAVEPOINT active_record_1
16677
+ SQL (0.3ms) 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.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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16679
+ G5Updatable::Location Load (0.2ms) 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"]]
16680
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
16681
+  (0.1ms) ROLLBACK
16682
+  (0.1ms) BEGIN
16683
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16684
+  (0.1ms) SAVEPOINT active_record_1
16685
+ SQL (0.3ms) 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.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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16687
+ G5Updatable::Location Load (0.1ms) 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"]]
16688
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
16689
+  (0.1ms) ROLLBACK
16690
+  (0.1ms) BEGIN
16691
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16692
+  (0.1ms) SAVEPOINT active_record_1
16693
+ SQL (0.3ms) 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.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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16695
+ G5Updatable::Location Load (0.1ms) 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"]]
16696
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
16697
+  (0.1ms) ROLLBACK
16698
+  (0.1ms) BEGIN
16699
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16700
+  (0.1ms) SAVEPOINT active_record_1
16701
+ SQL (0.2ms) 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.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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16703
+ G5Updatable::Location Load (0.1ms) 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"]]
16704
+  (0.1ms) SAVEPOINT active_record_1
16705
+ SQL (0.2ms) 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.668707"], ["updated_at", "2015-09-29 17:01:24.668707"]]
16706
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16707
+  (0.1ms) SAVEPOINT active_record_1
16708
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16710
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1 [["id", 82]]
16711
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 157]]
16712
+  (0.2ms) ROLLBACK
16713
+  (0.1ms) BEGIN
16714
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16715
+  (0.1ms) SAVEPOINT active_record_1
16716
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16718
+ G5Updatable::Location Load (0.1ms) 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
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
16720
+  (0.1ms) ROLLBACK
16721
+  (0.1ms) BEGIN
16722
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16723
+  (0.1ms) SAVEPOINT active_record_1
16724
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16726
+ G5Updatable::Location Load (0.1ms) 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
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
16728
+  (0.1ms) ROLLBACK
16729
+  (0.1ms) BEGIN
16730
+  (0.2ms) SAVEPOINT active_record_1
16731
+ SQL (0.3ms) 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:24.685553"], ["updated_at", "2015-09-29 17:01:24.685553"]]
16732
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16733
+  (0.1ms) SAVEPOINT active_record_1
16734
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16736
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
16737
+  (0.1ms) SAVEPOINT active_record_1
16738
+ SQL (0.2ms) DELETE FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 [["id", 160]]
16739
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16740
+  (0.2ms) SELECT COUNT(*) FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
16741
+  (0.2ms) SELECT COUNT(*) FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1 [["client_uid", "another_client_uid"]]
16742
+  (0.1ms) ROLLBACK
16743
+  (0.1ms) BEGIN
16744
+  (0.1ms) SAVEPOINT active_record_1
16745
+ SQL (0.3ms) 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.694344"], ["updated_at", "2015-09-29 17:01:24.694344"]]
16746
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16747
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16748
+  (0.1ms) SAVEPOINT active_record_1
16749
+ SQL (0.3ms) 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.696974"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 162]]
16750
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16751
+ G5Updatable::Location Load (0.3ms) 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"]]
16752
+  (0.2ms) ROLLBACK
16753
+  (0.1ms) BEGIN
16754
+  (0.1ms) SAVEPOINT active_record_1
16755
+ SQL (0.2ms) 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.701725"], ["updated_at", "2015-09-29 17:01:24.701725"]]
16756
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16757
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16758
+  (0.1ms) SAVEPOINT active_record_1
16759
+ SQL (0.3ms) 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.703427"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 163]]
16760
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16761
+ G5Updatable::Location Load (0.1ms) 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"]]
16762
+  (0.2ms) SELECT COUNT(*) FROM "g5_updatable_locations"
16763
+  (0.1ms) ROLLBACK
16764
+  (0.1ms) BEGIN
16765
+  (0.1ms) SAVEPOINT active_record_1
16766
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16768
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16769
+  (0.1ms) SAVEPOINT active_record_1
16770
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16772
+ G5Updatable::Location Load (0.2ms) 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
+  (0.1ms) SAVEPOINT active_record_1
16774
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16776
+  (0.1ms) SAVEPOINT active_record_1
16777
+ SQL (0.2ms) 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.715024"], ["updated_at", "2015-09-29 17:01:24.715024"]]
16778
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16779
+ G5Updatable::Client Load (0.2ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1 [["id", 83]]
16780
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 165]]
16781
+  (0.1ms) ROLLBACK
16782
+  (0.1ms) BEGIN
16783
+  (0.1ms) SAVEPOINT active_record_1
16784
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16786
+ G5Updatable::Location Load (0.1ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16787
+  (0.1ms) SAVEPOINT active_record_1
16788
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16790
+ G5Updatable::Location Load (0.1ms) 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
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
16792
+  (0.1ms) ROLLBACK
16793
+  (0.1ms) BEGIN
16794
+  (0.1ms) SAVEPOINT active_record_1
16795
+ SQL (0.2ms) 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.725157"], ["updated_at", "2015-09-29 17:01:24.725157"]]
16796
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16797
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16798
+  (0.1ms) SAVEPOINT active_record_1
16799
+ SQL (0.3ms) 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.726891"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 167]]
16800
+  (0.2ms) RELEASE SAVEPOINT active_record_1
16801
+ G5Updatable::Location Load (0.1ms) 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"]]
16802
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
16803
+  (0.2ms) ROLLBACK
16804
+  (0.1ms) BEGIN
16805
+  (0.1ms) ROLLBACK
16806
+  (0.1ms) BEGIN
16807
+ G5Updatable::Location Load (0.1ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16808
+  (0.1ms) SAVEPOINT active_record_1
16809
+ SQL (0.3ms) 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.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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16811
+ G5Updatable::Location Load (0.1ms) 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"]]
16812
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" ASC LIMIT 1
16813
+  (0.2ms) ROLLBACK
16814
+  (0.1ms) BEGIN
16815
+  (0.1ms) ROLLBACK
16816
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
16817
+  (0.3ms) BEGIN
16818
+  (0.2ms) ROLLBACK
16819
+  (0.1ms) BEGIN
16820
+  (0.2ms) ROLLBACK
16821
+  (0.1ms) BEGIN
16822
+  (0.2ms) ROLLBACK
16823
+  (0.1ms) BEGIN
16824
+  (0.2ms) ROLLBACK
16825
+  (0.1ms) BEGIN
16826
+  (0.1ms) ROLLBACK
16827
+  (0.1ms) BEGIN
16828
+  (0.1ms) ROLLBACK
16829
+  (0.1ms) BEGIN
16830
+  (0.1ms) ROLLBACK
16831
+  (0.1ms) BEGIN
16832
+  (0.1ms) ROLLBACK
16833
+  (0.1ms) BEGIN
16834
+  (0.1ms) ROLLBACK
16835
+  (0.1ms) BEGIN
16836
+  (0.1ms) ROLLBACK
16837
+  (0.1ms) BEGIN
16838
+  (0.1ms) ROLLBACK
16839
+  (0.1ms) BEGIN
16840
+  (0.1ms) ROLLBACK
16841
+  (0.1ms) BEGIN
16842
+  (0.2ms) SAVEPOINT active_record_1
16843
+ SQL (0.6ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
16845
+  (0.1ms) SAVEPOINT active_record_1
16846
+ SQL (0.6ms) 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.288879"], ["updated_at", "2015-09-29 17:02:27.288879"]]
16847
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16848
+  (0.1ms) SAVEPOINT active_record_1
16849
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16851
+  (0.1ms) SAVEPOINT active_record_1
16852
+ SQL (0.4ms) 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.294356"], ["updated_at", "2015-09-29 17:02:27.294356"]]
16853
+  (0.2ms) RELEASE SAVEPOINT active_record_1
16854
+  (0.1ms) SAVEPOINT active_record_1
16855
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16857
+ Processing by G5Updatable::SyncsController#index as HTML
16858
+ Parameters: {"urn"=>"xxx"}
16859
+ G5Updatable::Client Load (0.4ms) 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
+  (0.2ms) ROLLBACK
16862
+  (0.1ms) BEGIN
16863
+  (0.1ms) SAVEPOINT active_record_1
16864
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16866
+  (0.1ms) SAVEPOINT active_record_1
16867
+ SQL (0.3ms) 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.310479"], ["updated_at", "2015-09-29 17:02:27.310479"]]
16868
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16869
+  (0.1ms) SAVEPOINT active_record_1
16870
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16872
+  (0.1ms) SAVEPOINT active_record_1
16873
+ SQL (0.2ms) 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.314110"], ["updated_at", "2015-09-29 17:02:27.314110"]]
16874
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16875
+  (0.1ms) SAVEPOINT active_record_1
16876
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16878
+ Processing by G5Updatable::SyncsController#index as HTML
16879
+ Parameters: {"urn"=>"g5-c-1234-client"}
16880
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."urn" = $1 LIMIT 1 [["urn", "g5-c-1234-client"]]
16881
+  (0.9ms) SELECT MAX("g5_updatable_locations"."updated_at") FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1 [["client_uid", "http://example.com/clients/g5-c-1234-client"]]
16882
+ Completed 200 OK in 11ms (Views: 1.2ms | ActiveRecord: 1.2ms)
16883
+  (0.3ms) ROLLBACK
16884
+  (0.1ms) BEGIN
16885
+  (0.2ms) ROLLBACK
16886
+  (0.1ms) BEGIN
16887
+  (0.1ms) SAVEPOINT active_record_1
16888
+ SQL (0.3ms) 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:02:27.335085"], ["updated_at", "2015-09-29 17:02:27.335085"]]
16889
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16890
+ G5Updatable::Client Load (0.2ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16891
+  (0.1ms) SAVEPOINT active_record_1
16892
+ SQL (0.3ms) 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:02:27.337558"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["id", 88]]
16893
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16894
+  (0.2ms) SELECT COUNT(*) FROM "g5_updatable_clients"
16895
+  (0.2ms) ROLLBACK
16896
+  (0.1ms) BEGIN
16897
+  (0.1ms) SAVEPOINT active_record_1
16898
+ SQL (0.3ms) 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:02:27.342665"], ["updated_at", "2015-09-29 17:02:27.342665"]]
16899
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16900
+ G5Updatable::Client Load (0.2ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16901
+  (0.1ms) SAVEPOINT active_record_1
16902
+ SQL (0.3ms) 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:02:27.344540"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["id", 89]]
16903
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16904
+  (0.1ms) SAVEPOINT active_record_1
16905
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16907
+ G5Updatable::Client Load (0.5ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
16908
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16909
+  (0.1ms) SAVEPOINT active_record_1
16910
+ SQL (0.2ms) UPDATE "g5_updatable_clients" SET "updated_at" = $1 WHERE "g5_updatable_clients"."id" = $2 [["updated_at", "2015-09-29 17:02:27.349861"], ["id", 90]]
16911
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16912
+ G5Updatable::Client Load (0.2ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1 [["id", 89]]
16913
+  (0.1ms) ROLLBACK
16914
+  (0.1ms) BEGIN
16915
+  (0.1ms) SAVEPOINT active_record_1
16916
+ SQL (0.2ms) 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:02:27.354269"], ["updated_at", "2015-09-29 17:02:27.354269"]]
16917
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16918
+ G5Updatable::Client Load (0.2ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16919
+  (0.1ms) SAVEPOINT active_record_1
16920
+ SQL (0.3ms) 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:02:27.355941"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["id", 91]]
16921
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16922
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
16923
+  (0.1ms) ROLLBACK
16924
+  (0.1ms) BEGIN
16925
+  (0.1ms) SAVEPOINT active_record_1
16926
+ SQL (0.2ms) 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:02:27.359764"], ["updated_at", "2015-09-29 17:02:27.359764"]]
16927
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16928
+ G5Updatable::Client Load (0.2ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16929
+  (0.1ms) SAVEPOINT active_record_1
16930
+ SQL (0.3ms) 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:02:27.361452"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["id", 92]]
16931
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16932
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
16933
+  (0.1ms) ROLLBACK
16934
+  (0.1ms) BEGIN
16935
+ G5Updatable::Client Load (0.2ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16936
+  (0.1ms) SAVEPOINT active_record_1
16937
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16939
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
16940
+ G5Updatable::Client Load (0.2ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."name" = $1 LIMIT 1 [["name", "Client Name"]]
16941
+  (0.3ms) ROLLBACK
16942
+  (0.1ms) BEGIN
16943
+ G5Updatable::Client Load (0.2ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16944
+  (0.1ms) SAVEPOINT active_record_1
16945
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16947
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
16948
+  (0.1ms) ROLLBACK
16949
+  (0.1ms) BEGIN
16950
+ G5Updatable::Client Load (0.1ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16951
+  (0.1ms) SAVEPOINT active_record_1
16952
+ SQL (0.2ms) 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.374143"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-09-29 17:02:27.374613"]]
16953
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16954
+  (0.2ms) SELECT COUNT(*) FROM "g5_updatable_clients"
16955
+  (0.1ms) ROLLBACK
16956
+  (0.1ms) BEGIN
16957
+ G5Updatable::Client Load (0.1ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16958
+  (0.1ms) SAVEPOINT active_record_1
16959
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16961
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
16962
+  (0.1ms) ROLLBACK
16963
+  (0.1ms) BEGIN
16964
+ G5Updatable::Client Load (0.1ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16965
+  (0.1ms) SAVEPOINT active_record_1
16966
+ SQL (0.3ms) 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.380971"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-09-29 17:02:27.381442"]]
16967
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16968
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
16969
+  (0.1ms) ROLLBACK
16970
+  (0.1ms) BEGIN
16971
+ G5Updatable::Client Load (0.1ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
16972
+  (0.1ms) SAVEPOINT active_record_1
16973
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16975
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
16976
+  (0.1ms) ROLLBACK
16977
+  (0.1ms) BEGIN
16978
+  (0.2ms) ROLLBACK
16979
+  (0.1ms) BEGIN
16980
+  (0.1ms) SAVEPOINT active_record_1
16981
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16983
+  (0.1ms) SAVEPOINT active_record_1
16984
+ SQL (0.2ms) 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.391655"], ["updated_at", "2015-09-29 17:02:27.391655"]]
16985
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16986
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 [["urn", "g5-cl-1234-location"]]
16987
+  (0.1ms) ROLLBACK
16988
+  (0.1ms) BEGIN
16989
+  (0.2ms) SAVEPOINT active_record_1
16990
+ SQL (0.2ms) 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.394991"], ["updated_at", "2015-09-29 17:02:27.394991"]]
16991
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16992
+  (0.1ms) SAVEPOINT active_record_1
16993
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16995
+  (0.4ms) SELECT MAX("g5_updatable_locations"."updated_at") FROM "g5_updatable_locations"
16996
+  (0.2ms) ROLLBACK
16997
+  (0.1ms) BEGIN
16998
+  (0.1ms) SAVEPOINT active_record_1
16999
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17001
+  (0.1ms) SAVEPOINT active_record_1
17002
+ SQL (0.2ms) 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.402205"], ["updated_at", "2015-09-29 17:02:27.402205"]]
17003
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17004
+ G5Updatable::Location Load (0.2ms) 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"]]
17005
+  (0.1ms) ROLLBACK
17006
+  (0.1ms) BEGIN
17007
+  (0.1ms) SAVEPOINT active_record_1
17008
+ SQL (0.3ms) 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.405338"], ["updated_at", "2015-09-29 17:02:27.405338"]]
17009
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17010
+  (0.2ms) SAVEPOINT active_record_1
17011
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17013
+ G5Updatable::Client Load (0.2ms) 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
+  (0.1ms) ROLLBACK
17015
+  (0.1ms) BEGIN
17016
+  (0.1ms) SAVEPOINT active_record_1
17017
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17019
+ G5Updatable::Client Load (0.1ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "madeup"]]
17020
+  (0.1ms) ROLLBACK
17021
+  (0.1ms) BEGIN
17022
+  (0.1ms) SAVEPOINT active_record_1
17023
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17025
+  (0.1ms) SAVEPOINT active_record_1
17026
+ SQL (0.2ms) 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.415255"], ["updated_at", "2015-09-29 17:02:27.415255"]]
17027
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17028
+ G5Updatable::Client Load (0.1ms) 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"]]
17029
+  (0.2ms) ROLLBACK
17030
+  (0.1ms) BEGIN
17031
+  (0.1ms) ROLLBACK
17032
+  (0.1ms) BEGIN
17033
+  (0.1ms) ROLLBACK
17034
+  (0.1ms) BEGIN
17035
+  (0.1ms) SAVEPOINT active_record_1
17036
+ SQL (0.2ms) 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:02:27.420695"], ["updated_at", "2015-09-29 17:02:27.420695"]]
17037
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17038
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 184]]
17039
+  (0.1ms) ROLLBACK
17040
+  (0.1ms) BEGIN
17041
+  (0.2ms) ROLLBACK
17042
+  (0.1ms) BEGIN
17043
+  (0.2ms) ROLLBACK
17044
+  (0.1ms) BEGIN
17045
+  (0.2ms) ROLLBACK
17046
+  (0.2ms) BEGIN
17047
+  (0.2ms) SAVEPOINT active_record_1
17048
+ SQL (0.4ms) 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.442919"], ["updated_at", "2015-09-29 17:02:27.442919"]]
17049
+  (0.2ms) RELEASE SAVEPOINT active_record_1
17050
+ Processing by G5Updatable::LocationsController#show as HTML
17051
+ Parameters: {"urn"=>"g5-cl-1234-location"}
17052
+ G5Updatable::Location Load (0.4ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 LIMIT 1 [["urn", "g5-cl-1234-location"]]
17053
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.4ms)
17054
+  (0.2ms) ROLLBACK
17055
+  (0.1ms) BEGIN
17056
+  (0.2ms) SAVEPOINT active_record_1
17057
+ SQL (0.3ms) 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.451162"], ["updated_at", "2015-09-29 17:02:27.451162"]]
17058
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17059
+ Processing by G5Updatable::LocationsController#show as HTML
17060
+ Parameters: {"urn"=>"g5-cl-1234-location"}
17061
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 LIMIT 1 [["urn", "g5-cl-1234-location"]]
17062
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.3ms)
17063
+  (0.1ms) ROLLBACK
17064
+  (0.1ms) BEGIN
17065
+  (0.1ms) ROLLBACK
17066
+  (0.1ms) BEGIN
17067
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
17068
+  (0.1ms) SAVEPOINT active_record_1
17069
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17071
+ G5Updatable::Location Load (0.2ms) 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
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" ASC LIMIT 1
17073
+  (0.2ms) ROLLBACK
17074
+  (0.1ms) BEGIN
17075
+  (0.1ms) ROLLBACK
17076
+  (0.1ms) BEGIN
17077
+  (0.1ms) SAVEPOINT active_record_1
17078
+ SQL (0.2ms) 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:02:27.465715"], ["updated_at", "2015-09-29 17:02:27.465715"]]
17079
+  (0.2ms) RELEASE SAVEPOINT active_record_1
17080
+  (0.1ms) SAVEPOINT active_record_1
17081
+ SQL (0.2ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
17083
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
17084
+  (0.1ms) SAVEPOINT active_record_1
17085
+ SQL (0.2ms) DELETE FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 [["id", 188]]
17086
+  (0.2ms) RELEASE SAVEPOINT active_record_1
17087
+  (0.2ms) SELECT COUNT(*) FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
17088
+  (0.2ms) SELECT COUNT(*) FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1 [["client_uid", "another_client_uid"]]
17089
+  (0.1ms) ROLLBACK
17090
+  (0.1ms) BEGIN
17091
+  (0.1ms) SAVEPOINT active_record_1
17092
+ SQL (0.2ms) 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.473540"], ["updated_at", "2015-09-29 17:02:27.473540"]]
17093
+  (0.2ms) RELEASE SAVEPOINT active_record_1
17094
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
17095
+  (0.2ms) SAVEPOINT active_record_1
17096
+ SQL (0.3ms) 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.476042"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 190]]
17097
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17098
+ G5Updatable::Location Load (0.2ms) 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"]]
17099
+  (0.2ms) ROLLBACK
17100
+  (0.1ms) BEGIN
17101
+  (0.1ms) SAVEPOINT active_record_1
17102
+ SQL (0.2ms) 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:02:27.481054"], ["updated_at", "2015-09-29 17:02:27.481054"]]
17103
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17104
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
17105
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
17106
+  (0.1ms) SAVEPOINT active_record_1
17107
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17109
+ G5Updatable::Location Load (0.2ms) 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
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 191]]
17111
+  (0.1ms) ROLLBACK
17112
+  (0.1ms) BEGIN
17113
+  (0.3ms) SAVEPOINT active_record_1
17114
+ SQL (0.3ms) 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:02:27.522872"], ["updated_at", "2015-09-29 17:02:27.522872"]]
17115
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17116
+ G5Updatable::Location Load (0.4ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
17117
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
17118
+  (0.1ms) SAVEPOINT active_record_1
17119
+ SQL (0.3ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
17121
+ G5Updatable::Location Load (0.4ms) 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
+  (0.2ms) SAVEPOINT active_record_1
17123
+ SQL (0.4ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
17125
+  (0.2ms) SAVEPOINT active_record_1
17126
+ SQL (0.4ms) 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.533240"], ["updated_at", "2015-09-29 17:02:27.533240"]]
17127
+  (0.2ms) RELEASE SAVEPOINT active_record_1
17128
+ G5Updatable::Client Load (0.4ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1 [["id", 101]]
17129
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 193]]
17130
+  (0.2ms) ROLLBACK
17131
+  (0.1ms) BEGIN
17132
+  (0.2ms) SAVEPOINT active_record_1
17133
+ SQL (0.3ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
17135
+ G5Updatable::Location Load (0.4ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
17136
+  (0.2ms) SAVEPOINT active_record_1
17137
+ SQL (0.4ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
17139
+ G5Updatable::Location Load (0.3ms) 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
+  (0.1ms) SAVEPOINT active_record_1
17141
+ SQL (0.2ms) DELETE FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 [["id", 194]]
17142
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17143
+  (0.3ms) 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
+  (0.3ms) 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"]]
17145
+  (0.2ms) ROLLBACK
17146
+  (0.1ms) BEGIN
17147
+  (0.1ms) SAVEPOINT active_record_1
17148
+ SQL (0.3ms) 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.550892"], ["updated_at", "2015-09-29 17:02:27.550892"]]
17149
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17150
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
17151
+  (0.1ms) SAVEPOINT active_record_1
17152
+ SQL (0.3ms) 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.553089"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 196]]
17153
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17154
+ G5Updatable::Location Load (0.2ms) 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"]]
17155
+  (0.3ms) SELECT COUNT(*) FROM "g5_updatable_locations"
17156
+  (0.1ms) ROLLBACK
17157
+  (0.1ms) BEGIN
17158
+  (0.1ms) SAVEPOINT active_record_1
17159
+ SQL (0.3ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
17161
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
17162
+  (0.1ms) SAVEPOINT active_record_1
17163
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17165
+ G5Updatable::Location Load (0.1ms) 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
+  (0.1ms) SAVEPOINT active_record_1
17167
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17169
+  (0.1ms) SAVEPOINT active_record_1
17170
+ SQL (0.2ms) 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.565633"], ["updated_at", "2015-09-29 17:02:27.565633"]]
17171
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17172
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1 [["id", 102]]
17173
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 198]]
17174
+  (0.1ms) ROLLBACK
17175
+  (0.1ms) BEGIN
17176
+  (0.1ms) SAVEPOINT active_record_1
17177
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17179
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
17180
+  (0.1ms) SAVEPOINT active_record_1
17181
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17183
+ G5Updatable::Location Load (0.1ms) 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
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
17185
+  (0.1ms) ROLLBACK
17186
+  (0.1ms) BEGIN
17187
+  (0.1ms) SAVEPOINT active_record_1
17188
+ SQL (0.3ms) 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.576719"], ["updated_at", "2015-09-29 17:02:27.576719"]]
17189
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17190
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
17191
+  (0.1ms) SAVEPOINT active_record_1
17192
+ SQL (0.3ms) 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.578665"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 200]]
17193
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17194
+ G5Updatable::Location Load (0.1ms) 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"]]
17195
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
17196
+  (0.1ms) ROLLBACK
17197
+  (0.1ms) BEGIN
17198
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
17199
+  (0.1ms) SAVEPOINT active_record_1
17200
+ SQL (0.3ms) 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.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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17202
+ G5Updatable::Location Load (0.1ms) 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"]]
17203
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
17204
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."name" = $1 LIMIT 1 [["name", "Location Name"]]
17205
+  (0.1ms) ROLLBACK
17206
+  (0.1ms) BEGIN
17207
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
17208
+  (0.1ms) SAVEPOINT active_record_1
17209
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17211
+ G5Updatable::Location Load (0.1ms) 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
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
17213
+  (0.1ms) ROLLBACK
17214
+  (0.1ms) BEGIN
17215
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
17216
+  (0.1ms) SAVEPOINT active_record_1
17217
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17219
+ G5Updatable::Location Load (0.1ms) 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
+  (0.3ms) SELECT COUNT(*) FROM "g5_updatable_locations"
17221
+  (0.1ms) ROLLBACK
17222
+  (0.1ms) BEGIN
17223
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
17224
+  (0.1ms) SAVEPOINT active_record_1
17225
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17227
+ G5Updatable::Location Load (0.1ms) 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
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
17229
+  (0.1ms) ROLLBACK
17230
+  (0.1ms) BEGIN
17231
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
17232
+  (0.1ms) SAVEPOINT active_record_1
17233
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17235
+ G5Updatable::Location Load (0.1ms) 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
+  (0.1ms) SAVEPOINT active_record_1
17237
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17239
+  (0.1ms) SAVEPOINT active_record_1
17240
+ SQL (0.3ms) 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.609171"], ["updated_at", "2015-09-29 17:02:27.609171"]]
17241
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17242
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1 [["id", 103]]
17243
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 206]]
17244
+  (0.1ms) ROLLBACK
17245
+  (0.1ms) BEGIN
17246
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
17247
+  (0.1ms) SAVEPOINT active_record_1
17248
+ SQL (0.3ms) 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.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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
17250
+ G5Updatable::Location Load (0.2ms) 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"]]
17251
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
17252
+  (0.1ms) ROLLBACK
17253
+  (0.1ms) BEGIN
17254
+ G5Updatable::Location Load (0.1ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
17255
+  (0.1ms) SAVEPOINT active_record_1
17256
+ SQL (0.2ms) 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.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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17258
+ G5Updatable::Location Load (0.1ms) 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"]]
17259
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
17260
+  (0.1ms) ROLLBACK
17261
+  (0.1ms) BEGIN
17262
+ G5Updatable::Location Load (0.1ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
17263
+  (0.1ms) SAVEPOINT active_record_1
17264
+ SQL (0.2ms) 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.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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17266
+ G5Updatable::Location Load (0.1ms) 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"]]
17267
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
17268
+  (0.1ms) ROLLBACK
17269
+  (0.1ms) BEGIN
17270
+  (0.2ms) ROLLBACK
17271
+  (0.1ms) BEGIN
17272
+  (0.2ms) SAVEPOINT active_record_1
17273
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17275
+  (0.1ms) SAVEPOINT active_record_1
17276
+ SQL (0.2ms) 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.636187"], ["updated_at", "2015-09-29 17:02:27.636187"]]
17277
+  (0.2ms) RELEASE SAVEPOINT active_record_1
17278
+ G5Updatable::Location Load (0.2ms) 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"]]
17279
+  (0.2ms) ROLLBACK
17280
+  (0.1ms) BEGIN
17281
+  (0.1ms) ROLLBACK
17282
+  (0.1ms) BEGIN
17283
+  (0.1ms) ROLLBACK
17284
+  (0.1ms) BEGIN
17285
+  (0.1ms) ROLLBACK
17286
+  (0.1ms) BEGIN
17287
+  (0.1ms) SAVEPOINT active_record_1
17288
+ SQL (0.2ms) 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:02:27.643257"], ["updated_at", "2015-09-29 17:02:27.643257"]]
17289
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17290
+ G5Updatable::Client Load (0.2ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1 [["id", 105]]
17291
+  (0.1ms) ROLLBACK
17292
+  (0.1ms) BEGIN
17293
+  (0.1ms) ROLLBACK
17294
+  (0.1ms) BEGIN
17295
+  (0.1ms) ROLLBACK
17296
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
17297
+  (0.4ms) BEGIN
17298
+  (0.2ms) SAVEPOINT active_record_1
17299
+ SQL (0.7ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
17301
+  (0.6ms) SELECT COUNT(*) FROM "g5_updatable_clients"
17302
+ G5Updatable::Client Load (1.0ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
17303
+ G5Updatable::Client Load (0.5ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
17304
+  (0.2ms) SAVEPOINT active_record_1
17305
+ SQL (0.4ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
17307
+  (0.2ms) SAVEPOINT active_record_1
17308
+ SQL (0.3ms) 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:07:29.062331"], ["updated_at", "2015-09-29 17:07:29.062331"]]
17309
+  (0.2ms) RELEASE SAVEPOINT active_record_1
17310
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
17311
+ G5Updatable::Client Load (0.5ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
17312
+  (0.2ms) SAVEPOINT active_record_1
17313
+ SQL (0.4ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
17315
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1 [["id", 106]]
17316
+  (0.3ms) ROLLBACK
17317
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
17318
+  (0.4ms) BEGIN
17319
+  (0.3ms) SAVEPOINT active_record_1
17320
+ SQL (0.7ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17322
+ G5Updatable::Client Load (0.7ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
17323
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
17324
+  (0.1ms) SAVEPOINT active_record_1
17325
+ SQL (0.3ms) UPDATE "g5_updatable_clients" SET "updated_at" = $1 WHERE "g5_updatable_clients"."id" = $2 [["updated_at", "2015-09-29 17:08:00.560286"], ["id", 108]]
17326
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17327
+ G5Updatable::Client Load (0.2ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1 [["id", 108]]
17328
+  (0.2ms) ROLLBACK