g5_updatable 0.7.2 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/g5_updatable/factories.rb +154 -1
- data/lib/g5_updatable/version.rb +1 -1
- data/spec/dummy/log/test.log +462 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 063dfb513857c34a5c119760fe7356611098d689
|
4
|
+
data.tar.gz: b640eaad04c4f0d1c7ecccc9f59dba3fef8de6ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 172fb541c6105111bf4b2dc98f9d8e1f5da89a09082c3c7ff53affba4e63bcfebd596fa9f46814103eb863298270b5c60c522b7ecbc51f5b17cc380fc053383f
|
7
|
+
data.tar.gz: e6b075a773dff3de310f179052aa4f6e41d385d0054ff2aeb843cce6e2cf3f443b180b42929bc567ee01f5126bbec9422acce8e421f14127b30cc71e66da6705
|
@@ -8,8 +8,161 @@ FactoryGirl.define do
|
|
8
8
|
factory :g5_updatable_location, class: "G5Updatable::Location" do
|
9
9
|
association :client, factory: :g5_updatable_client
|
10
10
|
sequence(:urn) { |n| "location_urn_#{n}" }
|
11
|
-
sequence(:phone_number) {|n| "123-321-#{n}" }
|
12
11
|
uid { "#{client.urn}/locations/#{urn}" }
|
12
|
+
|
13
|
+
sequence(:phone_number) {|n| "123-321-#{n}" }
|
14
|
+
corporate false
|
15
|
+
status "Pending"
|
16
|
+
street_address_1 "123 Test Way"
|
17
|
+
street_address_2 ""
|
18
|
+
city "Delta City"
|
19
|
+
state "MI"
|
20
|
+
state_name "Michigan"
|
21
|
+
postal_code "54169"
|
22
|
+
service_1 nil
|
23
|
+
service_2 nil
|
24
|
+
service_3 nil
|
25
|
+
service_4 nil
|
26
|
+
service_5 nil
|
27
|
+
fax ""
|
28
|
+
email "email@getg5.com"
|
29
|
+
office_hours ""
|
30
|
+
access_hours nil
|
31
|
+
twitter_username ""
|
32
|
+
facebook_username ""
|
33
|
+
yelp_username ""
|
34
|
+
pinterest_username ""
|
35
|
+
foursquare_username ""
|
36
|
+
tumblr_username ""
|
37
|
+
instagram_username ""
|
38
|
+
vimeo_username ""
|
39
|
+
youtube_username ""
|
40
|
+
domain "www.example.org"
|
41
|
+
secure_domain false
|
42
|
+
neighborhood nil
|
43
|
+
boat_storage false
|
44
|
+
business_storage false
|
45
|
+
gate_access false
|
46
|
+
security_monitoring false
|
47
|
+
business_center false
|
48
|
+
climate_controlled false
|
49
|
+
heated_cooled false
|
50
|
+
friendly_staff false
|
51
|
+
covered_drivethru false
|
52
|
+
covered_loading false
|
53
|
+
rv_boat_storage false
|
54
|
+
outside_parking false
|
55
|
+
deliveries false
|
56
|
+
dollies_carts false
|
57
|
+
digital_surveillance false
|
58
|
+
drive_up_access false
|
59
|
+
electronic_gate false
|
60
|
+
uhaul_trucks false
|
61
|
+
budget_trucks false
|
62
|
+
moving_trucks false
|
63
|
+
free_truck false
|
64
|
+
fenced_lighted false
|
65
|
+
ground_level_units false
|
66
|
+
high_ceilings false
|
67
|
+
individual_alarmed_units false
|
68
|
+
mail_boxes false
|
69
|
+
major_credit_cards false
|
70
|
+
military_discounts false
|
71
|
+
student_discount false
|
72
|
+
senior_discount false
|
73
|
+
month_to_month false
|
74
|
+
no_admin_fee false
|
75
|
+
no_deposits false
|
76
|
+
no_late_fees false
|
77
|
+
online_bill_pay false
|
78
|
+
packing_moving_supplies false
|
79
|
+
boxes_locks false
|
80
|
+
tenant_insurance false
|
81
|
+
truck_rentals false
|
82
|
+
wide_driveways false
|
83
|
+
wine_storage false
|
84
|
+
other_features nil
|
85
|
+
rv_storage false
|
86
|
+
seven_day_access false
|
87
|
+
other_storage nil
|
88
|
+
specific_demographic nil
|
89
|
+
primary_offering nil
|
90
|
+
secondary_other nil
|
91
|
+
secondary_condo false
|
92
|
+
secondary_townhomes false
|
93
|
+
secondary_apartments false
|
94
|
+
floor_plans nil
|
95
|
+
nearby_schools nil
|
96
|
+
highrise_structure false
|
97
|
+
garden_structure false
|
98
|
+
townhome_structure false
|
99
|
+
modern_structure false
|
100
|
+
nearby_employers nil
|
101
|
+
dogs_allowed false
|
102
|
+
cats_allowed false
|
103
|
+
accessibility nil
|
104
|
+
air_conditioned false
|
105
|
+
cable_included false
|
106
|
+
ceiling_fans false
|
107
|
+
custom_cabinetry false
|
108
|
+
dishwasher false
|
109
|
+
energy_efficient false
|
110
|
+
fireplace false
|
111
|
+
granite_counters false
|
112
|
+
hardwood_floors false
|
113
|
+
private_balcony false
|
114
|
+
private_patio false
|
115
|
+
refrigerator false
|
116
|
+
stainless_appliances false
|
117
|
+
smoke_free false
|
118
|
+
style_design nil
|
119
|
+
style_cost nil
|
120
|
+
walkin_closet false
|
121
|
+
washer_dryer false
|
122
|
+
has_view false
|
123
|
+
other_amenities nil
|
124
|
+
carport_parking false
|
125
|
+
club_house false
|
126
|
+
dog_park false
|
127
|
+
corporate_suites false
|
128
|
+
family_friendly false
|
129
|
+
fitness_center false
|
130
|
+
furnished_apartments false
|
131
|
+
garages false
|
132
|
+
gated_entrance false
|
133
|
+
laundry_facilities false
|
134
|
+
online_rental_payments false
|
135
|
+
onsite_management false
|
136
|
+
close_park false
|
137
|
+
pet_friendly false
|
138
|
+
playground false
|
139
|
+
recycling_center false
|
140
|
+
swimming_pool false
|
141
|
+
hot_tub false
|
142
|
+
storage_available false
|
143
|
+
tennis_court false
|
144
|
+
wifi_available false
|
145
|
+
other_community_amenities nil
|
146
|
+
primary_offering_other nil
|
147
|
+
ga_tracking_id nil
|
148
|
+
ga_profile_id nil
|
149
|
+
landmark_1_type nil
|
150
|
+
landmark_1_name nil
|
151
|
+
landmark_2_type nil
|
152
|
+
landmark_2_name nil
|
153
|
+
property_feature_1 nil
|
154
|
+
property_feature_2 nil
|
155
|
+
property_feature_3 nil
|
156
|
+
apartment_amenity_1 nil
|
157
|
+
apartment_amenity_2 nil
|
158
|
+
community_amenity_1 nil
|
159
|
+
community_amenity_2 nil
|
160
|
+
timezone nil
|
161
|
+
latitude 42.7265775
|
162
|
+
longitude -84.6620322
|
163
|
+
go_squared_site_token nil
|
164
|
+
thumbnail_url "/images/thumb/missing.png"
|
165
|
+
|
13
166
|
initialize_with do
|
14
167
|
attrs = {}
|
15
168
|
attributes.each do |key, value|
|
data/lib/g5_updatable/version.rb
CHANGED
data/spec/dummy/log/test.log
CHANGED
@@ -2730,3 +2730,465 @@ Completed 404 Not Found in 1ms (ActiveRecord: 0.4ms)
|
|
2730
2730
|
[1m[35mG5Updatable::Location Load (0.5ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn')
|
2731
2731
|
[1m[36mG5Updatable::Location Load (0.5ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" ASC LIMIT 1[0m
|
2732
2732
|
[1m[35m (0.4ms)[0m ROLLBACK
|
2733
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2734
|
+
[1m[35m (0.4ms)[0m BEGIN
|
2735
|
+
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
2736
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2737
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2738
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2739
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2740
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2741
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
2742
|
+
[1m[35m (0.4ms)[0m BEGIN
|
2743
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2744
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2745
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
2746
|
+
[1m[35m (0.3ms)[0m BEGIN
|
2747
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2748
|
+
[1m[35m (0.3ms)[0m BEGIN
|
2749
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2750
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2751
|
+
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
2752
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2753
|
+
[1m[36mG5Updatable::Location Load (0.5ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
2754
|
+
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
2755
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-06-25 05:35:51.857936"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-06-25 05:35:51.861608"]]
|
2756
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
2757
|
+
[1m[36mG5Updatable::Location Load (0.4ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
2758
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM "g5_updatable_locations"
|
2759
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
2760
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2761
|
+
[1m[36mG5Updatable::Location Load (0.7ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
2762
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
2763
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-06-25 05:35:51.884184"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-06-25 05:35:51.885260"]]
|
2764
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
2765
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
2766
|
+
[1m[35mG5Updatable::Location Load (0.5ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
|
2767
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2768
|
+
[1m[35m (0.3ms)[0m BEGIN
|
2769
|
+
[1m[36mG5Updatable::Location Load (0.4ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
2770
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2771
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-06-25 05:35:51.892108"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-06-25 05:35:51.893051"]]
|
2772
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
2773
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
2774
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
|
2775
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."name" = $1 LIMIT 1[0m [["name", "Location Name"]]
|
2776
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2777
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
2778
|
+
[1m[35mG5Updatable::Location Load (0.4ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
2779
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
2780
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-06-25 05:35:51.900727"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-06-25 05:35:51.901704"]]
|
2781
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2782
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
2783
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1[0m
|
2784
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2785
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
2786
|
+
[1m[35mG5Updatable::Location Load (0.4ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
2787
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
2788
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-06-25 05:35:51.908748"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-06-25 05:35:51.909631"]]
|
2789
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2790
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
2791
|
+
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
2792
|
+
[1m[35mSQL (13.4ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-06-25 05:35:51.919912"], ["updated_at", "2015-06-25 05:35:51.919912"]]
|
2793
|
+
[1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2794
|
+
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
2795
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:51.938128"], ["updated_at", "2015-06-25 05:35:51.938128"]]
|
2796
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2797
|
+
[1m[36mG5Updatable::Client Load (0.4ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1[0m [["id", 69]]
|
2798
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 247]]
|
2799
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2800
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2801
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
2802
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2803
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-06-25 05:35:51.945442"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-06-25 05:35:51.946315"]]
|
2804
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
2805
|
+
[1m[36mG5Updatable::Location Load (0.4ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
2806
|
+
[1m[35mG5Updatable::Location Load (0.4ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
|
2807
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2808
|
+
[1m[35m (0.3ms)[0m BEGIN
|
2809
|
+
[1m[36mG5Updatable::Location Load (1.1ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
2810
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
2811
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-06-25 05:35:51.953447"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-06-25 05:35:51.954421"]]
|
2812
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
2813
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
2814
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
|
2815
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2816
|
+
[1m[35m (0.3ms)[0m BEGIN
|
2817
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
2818
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2819
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-06-25 05:35:51.960545"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-06-25 05:35:51.961368"]]
|
2820
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
2821
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
2822
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
|
2823
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2824
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2825
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
2826
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "another_urn"], ["client_uid", "client_uid"], ["name", "Location Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-06-25 05:35:51.968961"], ["updated_at", "2015-06-25 05:35:51.968961"]]
|
2827
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2828
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
2829
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/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-06-25 05:35:51.971524"], ["updated_at", "2015-06-25 05:35:51.971524"]]
|
2830
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2831
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
2832
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2833
|
+
[1m[36mSQL (0.5ms)[0m [1mDELETE FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1[0m [["id", 251]]
|
2834
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2835
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
2836
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1 [["client_uid", "another_client_uid"]]
|
2837
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2838
|
+
[1m[35m (0.3ms)[0m BEGIN
|
2839
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
2840
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "another_uid"], ["urn", "dead_urn"], ["client_uid", "client_uid"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:51.980467"], ["updated_at", "2015-06-25 05:35:51.980467"]]
|
2841
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2842
|
+
[1m[35mG5Updatable::Location Load (0.5ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
2843
|
+
[1m[36m (0.6ms)[0m [1mSAVEPOINT active_record_1[0m
|
2844
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-06-25 05:35:51.984879"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-06-25 05:35:51.986232"]]
|
2845
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2846
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
2847
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2848
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 [["id", 253]]
|
2849
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2850
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 AND "g5_updatable_locations"."client_uid" = $2 [["urn", "urn"], ["client_uid", "client_uid"]]
|
2851
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 AND "g5_updatable_locations"."client_uid" = $2[0m [["urn", "dead_urn"], ["client_uid", "client_uid"]]
|
2852
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2853
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2854
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
2855
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "old"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:51.995499"], ["updated_at", "2015-06-25 05:35:51.995499"]]
|
2856
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
2857
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
2858
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
2859
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "g5_updatable_locations" SET "urn" = $1, "name" = $2, "client_uid" = $3, "updated_at" = $4, "properties" = $5 WHERE "g5_updatable_locations"."id" = $6[0m [["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-06-25 05:35:51.998313"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 255]]
|
2860
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
2861
|
+
[1m[36mG5Updatable::Location Load (0.4ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
2862
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM "g5_updatable_locations"
|
2863
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2864
|
+
[1m[35m (0.3ms)[0m BEGIN
|
2865
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
2866
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "old"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.007957"], ["updated_at", "2015-06-25 05:35:52.007957"]]
|
2867
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2868
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
2869
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2870
|
+
[1m[35mSQL (0.5ms)[0m UPDATE "g5_updatable_locations" SET "urn" = $1, "name" = $2, "client_uid" = $3, "updated_at" = $4, "properties" = $5 WHERE "g5_updatable_locations"."id" = $6 [["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-06-25 05:35:52.010959"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 256]]
|
2871
|
+
[1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2872
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
2873
|
+
[1m[36mG5Updatable::Location Load (0.6ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1[0m
|
2874
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
2875
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
2876
|
+
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
2877
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "old"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.021392"], ["updated_at", "2015-06-25 05:35:52.021392"]]
|
2878
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
2879
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
2880
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2881
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "g5_updatable_locations" SET "urn" = $1, "name" = $2, "client_uid" = $3, "updated_at" = $4, "properties" = $5 WHERE "g5_updatable_locations"."id" = $6[0m [["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-06-25 05:35:52.024480"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 257]]
|
2882
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
2883
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
2884
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
|
2885
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2886
|
+
[1m[35m (0.3ms)[0m BEGIN
|
2887
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
2888
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "old"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.031632"], ["updated_at", "2015-06-25 05:35:52.031632"]]
|
2889
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2890
|
+
[1m[35mG5Updatable::Location Load (0.4ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
2891
|
+
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
2892
|
+
[1m[35mSQL (0.6ms)[0m UPDATE "g5_updatable_locations" SET "urn" = $1, "name" = $2, "client_uid" = $3, "updated_at" = $4, "properties" = $5 WHERE "g5_updatable_locations"."id" = $6 [["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-06-25 05:35:52.034952"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 258]]
|
2893
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2894
|
+
[1m[35mG5Updatable::Location Load (0.4ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
2895
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2896
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-06-25 05:35:52.040670"], ["updated_at", "2015-06-25 05:35:52.040670"]]
|
2897
|
+
[1m[36m (0.8ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2898
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
2899
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.044711"], ["updated_at", "2015-06-25 05:35:52.044711"]]
|
2900
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2901
|
+
[1m[36mG5Updatable::Client Load (0.3ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1[0m [["id", 70]]
|
2902
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 259]]
|
2903
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2904
|
+
[1m[35m (0.3ms)[0m BEGIN
|
2905
|
+
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
2906
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "old"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.051470"], ["updated_at", "2015-06-25 05:35:52.051470"]]
|
2907
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2908
|
+
[1m[35mG5Updatable::Location Load (0.4ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
2909
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2910
|
+
[1m[35mSQL (0.5ms)[0m UPDATE "g5_updatable_locations" SET "urn" = $1, "name" = $2, "client_uid" = $3, "updated_at" = $4, "properties" = $5 WHERE "g5_updatable_locations"."id" = $6 [["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-06-25 05:35:52.056233"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 260]]
|
2911
|
+
[1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2912
|
+
[1m[35mG5Updatable::Location Load (0.4ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
2913
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2914
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2915
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
2916
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["client_uid", "client_uid"], ["name", "Location Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-06-25 05:35:52.063612"], ["updated_at", "2015-06-25 05:35:52.063612"]]
|
2917
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2918
|
+
[1m[35mG5Updatable::Location Load (0.5ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
|
2919
|
+
[1m[36mG5Updatable::Location Load (0.5ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
2920
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
2921
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "g5_updatable_locations" SET "updated_at" = $1 WHERE "g5_updatable_locations"."id" = $2[0m [["updated_at", "2015-06-25 05:35:52.068501"], ["id", 261]]
|
2922
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2923
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
2924
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 261]]
|
2925
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2926
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2927
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
2928
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["client_uid", "client_uid"], ["name", "Location Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-06-25 05:35:52.076952"], ["updated_at", "2015-06-25 05:35:52.076952"]]
|
2929
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2930
|
+
[1m[35mG5Updatable::Location Load (0.4ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
|
2931
|
+
[1m[36mG5Updatable::Location Load (0.4ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
2932
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
2933
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "g5_updatable_locations" SET "updated_at" = $1 WHERE "g5_updatable_locations"."id" = $2[0m [["updated_at", "2015-06-25 05:35:52.080672"], ["id", 262]]
|
2934
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
2935
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
2936
|
+
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
2937
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-06-25 05:35:52.086594"], ["updated_at", "2015-06-25 05:35:52.086594"]]
|
2938
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2939
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
2940
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.089687"], ["updated_at", "2015-06-25 05:35:52.089687"]]
|
2941
|
+
[1m[36m (0.5ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2942
|
+
[1m[35mG5Updatable::Client Load (0.3ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1 [["id", 71]]
|
2943
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1[0m [["id", 263]]
|
2944
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2945
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2946
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
2947
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
2948
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-06-25 05:35:52.096926"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-06-25 05:35:52.098008"]]
|
2949
|
+
[1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2950
|
+
[1m[35mG5Updatable::Location Load (0.4ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
2951
|
+
[1m[36mG5Updatable::Location Load (0.6ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" ASC LIMIT 1[0m
|
2952
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
2953
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
2954
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2955
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2956
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2957
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2958
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2959
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-06-25 05:35:52.111036"], ["updated_at", "2015-06-25 05:35:52.111036"]]
|
2960
|
+
[1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
|
2961
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
2962
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.123433"], ["updated_at", "2015-06-25 05:35:52.123433"]]
|
2963
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2964
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2965
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.126683"], ["updated_at", "2015-06-25 05:35:52.126683"]]
|
2966
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
2967
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2968
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-06-25 05:35:52.129072"], ["updated_at", "2015-06-25 05:35:52.129072"]]
|
2969
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2970
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2971
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.132223"], ["updated_at", "2015-06-25 05:35:52.132223"]]
|
2972
|
+
[1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
|
2973
|
+
Processing by G5Updatable::SyncsController#index as HTML
|
2974
|
+
Parameters: {"urn"=>"xxx"}
|
2975
|
+
[1m[36mG5Updatable::Client Load (0.3ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."urn" = $1 LIMIT 1[0m [["urn", "xxx"]]
|
2976
|
+
Completed 404 Not Found in 2ms (ActiveRecord: 0.3ms)
|
2977
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
2978
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
2979
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
2980
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-06-25 05:35:52.145276"], ["updated_at", "2015-06-25 05:35:52.145276"]]
|
2981
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2982
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2983
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.148511"], ["updated_at", "2015-06-25 05:35:52.148511"]]
|
2984
|
+
[1m[36m (0.5ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2985
|
+
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
2986
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.153215"], ["updated_at", "2015-06-25 05:35:52.153215"]]
|
2987
|
+
[1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
|
2988
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2989
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-06-25 05:35:52.156681"], ["updated_at", "2015-06-25 05:35:52.156681"]]
|
2990
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2991
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
2992
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.159900"], ["updated_at", "2015-06-25 05:35:52.159900"]]
|
2993
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
2994
|
+
Processing by G5Updatable::SyncsController#index as HTML
|
2995
|
+
Parameters: {"urn"=>"g5-c-1234-client"}
|
2996
|
+
[1m[36mG5Updatable::Client Load (0.5ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."urn" = $1 LIMIT 1[0m [["urn", "g5-c-1234-client"]]
|
2997
|
+
[1m[35m (0.6ms)[0m 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"]]
|
2998
|
+
Completed 200 OK in 65ms (Views: 11.5ms | ActiveRecord: 1.1ms)
|
2999
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
3000
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3001
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
3002
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3003
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3004
|
+
[1m[35m (0.3ms)[0m BEGIN
|
3005
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3006
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-06-25 05:35:52.251106"], ["updated_at", "2015-06-25 05:35:52.251106"]]
|
3007
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3008
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
3009
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.255096"], ["updated_at", "2015-06-25 05:35:52.255096"]]
|
3010
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
3011
|
+
[1m[36mG5Updatable::Location Load (0.4ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "http://example.com/clients/g5-c-1234-client"]]
|
3012
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
3013
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3014
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
3015
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
3016
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
3017
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
3018
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
3019
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"key\":\"value\"}"], ["created_at", "2015-06-25 05:35:52.266803"], ["updated_at", "2015-06-25 05:35:52.266803"]]
|
3020
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
3021
|
+
[1m[36mG5Updatable::Client Load (0.4ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1[0m [["id", 77]]
|
3022
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
3023
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3024
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
3025
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3026
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
3027
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
3028
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
3029
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
3030
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
3031
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3032
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3033
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.296814"], ["updated_at", "2015-06-25 05:35:52.296814"]]
|
3034
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
3035
|
+
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
3036
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "another_urn"], ["client_uid", "something_else"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.299777"], ["updated_at", "2015-06-25 05:35:52.299777"]]
|
3037
|
+
[1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3038
|
+
[1m[35mG5Updatable::Location Load (1.0ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1 [["client_uid", "http://example.com/clients/g5-c-1234-client"]]
|
3039
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3040
|
+
[1m[35m (0.3ms)[0m BEGIN
|
3041
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3042
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.306929"], ["updated_at", "2015-06-25 05:35:52.306929"]]
|
3043
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3044
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3045
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "another_urn"], ["client_uid", "something_else"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.309632"], ["updated_at", "2015-06-25 05:35:52.309632"]]
|
3046
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3047
|
+
[1m[36m (0.4ms)[0m [1mSELECT MAX("g5_updatable_locations"."updated_at") FROM "g5_updatable_locations"[0m
|
3048
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3049
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3050
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3051
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.314905"], ["updated_at", "2015-06-25 05:35:52.314905"]]
|
3052
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
3053
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3054
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "another_urn"], ["client_uid", "something_else"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.318239"], ["updated_at", "2015-06-25 05:35:52.318239"]]
|
3055
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3056
|
+
[1m[35mG5Updatable::Location Load (0.6ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 [["urn", "g5-cl-1234-location"]]
|
3057
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3058
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3059
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3060
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-06-25 05:35:52.326076"], ["updated_at", "2015-06-25 05:35:52.326076"]]
|
3061
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3062
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3063
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.329090"], ["updated_at", "2015-06-25 05:35:52.329090"]]
|
3064
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3065
|
+
[1m[36mG5Updatable::Client Load (0.4ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/clients/g5-c-1234-client"]]
|
3066
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
3067
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
3068
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
3069
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "madeup"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.336620"], ["updated_at", "2015-06-25 05:35:52.336620"]]
|
3070
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
3071
|
+
[1m[36mG5Updatable::Client Load (0.5ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "madeup"]]
|
3072
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
3073
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3074
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
3075
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-06-25 05:35:52.342764"], ["updated_at", "2015-06-25 05:35:52.342764"]]
|
3076
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3077
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3078
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.345637"], ["updated_at", "2015-06-25 05:35:52.345637"]]
|
3079
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3080
|
+
[1m[35mG5Updatable::Client Load (0.4ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/clients/g5-c-1234-client"]]
|
3081
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3082
|
+
[1m[35m (0.3ms)[0m BEGIN
|
3083
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3084
|
+
[1m[35m (0.5ms)[0m BEGIN
|
3085
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
3086
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3087
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3088
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"key\":\"value\"}"], ["created_at", "2015-06-25 05:35:52.358034"], ["updated_at", "2015-06-25 05:35:52.358034"]]
|
3089
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3090
|
+
[1m[35mG5Updatable::Location Load (0.4ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 281]]
|
3091
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3092
|
+
[1m[35m (0.3ms)[0m BEGIN
|
3093
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3094
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3095
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3096
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.366110"], ["updated_at", "2015-06-25 05:35:52.366110"]]
|
3097
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3098
|
+
Processing by G5Updatable::LocationsController#show as HTML
|
3099
|
+
Parameters: {"urn"=>"g5-cl-1234-location"}
|
3100
|
+
[1m[35mG5Updatable::Location Load (0.4ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 LIMIT 1 [["urn", "g5-cl-1234-location"]]
|
3101
|
+
Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.4ms)
|
3102
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
3103
|
+
[1m[35m (0.3ms)[0m BEGIN
|
3104
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3105
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.376844"], ["updated_at", "2015-06-25 05:35:52.376844"]]
|
3106
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3107
|
+
Processing by G5Updatable::LocationsController#show as HTML
|
3108
|
+
Parameters: {"urn"=>"g5-cl-1234-location"}
|
3109
|
+
[1m[35mG5Updatable::Location Load (0.5ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 LIMIT 1 [["urn", "g5-cl-1234-location"]]
|
3110
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.5ms)
|
3111
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3112
|
+
[1m[35m (0.6ms)[0m BEGIN
|
3113
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3114
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3115
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3116
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "old"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-06-25 05:35:52.410062"], ["updated_at", "2015-06-25 05:35:52.410062"]]
|
3117
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3118
|
+
[1m[35mG5Updatable::Client Load (0.6ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
3119
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3120
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "g5_updatable_clients" SET "urn" = $1, "name" = $2, "properties" = $3, "updated_at" = $4 WHERE "g5_updatable_clients"."id" = $5 [["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["updated_at", "2015-06-25 05:35:52.414626"], ["id", 80]]
|
3121
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3122
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "g5_updatable_clients"
|
3123
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3124
|
+
[1m[35m (0.3ms)[0m BEGIN
|
3125
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3126
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "old"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-06-25 05:35:52.421370"], ["updated_at", "2015-06-25 05:35:52.421370"]]
|
3127
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3128
|
+
[1m[35mG5Updatable::Client Load (0.4ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
3129
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3130
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "g5_updatable_clients" SET "urn" = $1, "name" = $2, "properties" = $3, "updated_at" = $4 WHERE "g5_updatable_clients"."id" = $5 [["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["updated_at", "2015-06-25 05:35:52.425421"], ["id", 81]]
|
3131
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3132
|
+
[1m[35mG5Updatable::Client Load (0.3ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
|
3133
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3134
|
+
[1m[35m (0.3ms)[0m BEGIN
|
3135
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3136
|
+
[1m[35mSQL (1.5ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "old"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-06-25 05:35:52.431366"], ["updated_at", "2015-06-25 05:35:52.431366"]]
|
3137
|
+
[1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3138
|
+
[1m[35mG5Updatable::Client Load (0.8ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
3139
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3140
|
+
[1m[35mSQL (0.5ms)[0m UPDATE "g5_updatable_clients" SET "urn" = $1, "name" = $2, "properties" = $3, "updated_at" = $4 WHERE "g5_updatable_clients"."id" = $5 [["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["updated_at", "2015-06-25 05:35:52.437790"], ["id", 82]]
|
3141
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3142
|
+
[1m[35mG5Updatable::Client Load (0.4ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
|
3143
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3144
|
+
[1m[35m (0.4ms)[0m BEGIN
|
3145
|
+
[1m[36mG5Updatable::Client Load (0.3ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
3146
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3147
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-06-25 05:35:52.444984"], ["updated_at", "2015-06-25 05:35:52.444984"]]
|
3148
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
3149
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "g5_updatable_clients"[0m
|
3150
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3151
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
3152
|
+
[1m[35mG5Updatable::Client Load (0.3ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
3153
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3154
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-06-25 05:35:52.450854"], ["updated_at", "2015-06-25 05:35:52.450854"]]
|
3155
|
+
[1m[36m (0.5ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3156
|
+
[1m[35mG5Updatable::Client Load (0.5ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
|
3157
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
3158
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3159
|
+
[1m[36mG5Updatable::Client Load (0.3ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
3160
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3161
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-06-25 05:35:52.458717"], ["updated_at", "2015-06-25 05:35:52.458717"]]
|
3162
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
3163
|
+
[1m[36mG5Updatable::Client Load (0.4ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1[0m
|
3164
|
+
[1m[35mG5Updatable::Client Load (0.3ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."name" = $1 LIMIT 1 [["name", "Client Name"]]
|
3165
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3166
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3167
|
+
[1m[36mG5Updatable::Client Load (0.2ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
3168
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3169
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-06-25 05:35:52.466590"], ["updated_at", "2015-06-25 05:35:52.466590"]]
|
3170
|
+
[1m[35m (0.5ms)[0m RELEASE SAVEPOINT active_record_1
|
3171
|
+
[1m[36mG5Updatable::Client Load (0.5ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1[0m
|
3172
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
3173
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
3174
|
+
[1m[35mG5Updatable::Client Load (0.5ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
3175
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3176
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-06-25 05:35:52.474743"], ["updated_at", "2015-06-25 05:35:52.474743"]]
|
3177
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3178
|
+
[1m[35mG5Updatable::Client Load (0.4ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
|
3179
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3180
|
+
[1m[35m (0.4ms)[0m BEGIN
|
3181
|
+
[1m[36mG5Updatable::Client Load (0.3ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
3182
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3183
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-06-25 05:35:52.481482"], ["updated_at", "2015-06-25 05:35:52.481482"]]
|
3184
|
+
[1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
|
3185
|
+
[1m[36mG5Updatable::Client Load (0.4ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1[0m
|
3186
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3187
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
3188
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
3189
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
3190
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
3191
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
3192
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
3193
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
3194
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|