dbhero 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6b811712b2cce69be4590bd5286660d2ddbcce01
4
- data.tar.gz: c00d1a73eba2d6f9103f52d28dc11be9f4a62dae
3
+ metadata.gz: 4c1a180b185d86fbfb4717bd53bbb784db4103f9
4
+ data.tar.gz: e7a3fe86f1f43cc009f07d2f7eafd8e137be918f
5
5
  SHA512:
6
- metadata.gz: a079a8096f5522304ac3c24cef35f58c63ebe21bad406d09c3c64cd90fecc4e42e8e24a131db2c1ac95878397bb0ea2830e7fe61464a076a992b5f69b48ba590
7
- data.tar.gz: ff12435e1418217b6546402a537e228e5059de76eac12a13ecd725d4cead6edfa36e96272bd16b6b7fb2e073f7d1ef49eef36b8a83ab97dacd65bfb2b24eb6d9
6
+ metadata.gz: 15d3e8787db13860de1bfde97f408aa96be8d380243368db6db4c588f63f497524424786e34da0d8927aa6bf3300b3162df4d823536ccc9142cd2a2c6553cc67
7
+ data.tar.gz: 974c63bb933b830f04217e69679b2b298aa96a858fd5ddaf8532713806eeecd869c2c57fde8eb80ab9c18283541467305d92468f5d540b8a2bbe0968bfe5b2b3
@@ -37,9 +37,7 @@ module Dbhero
37
37
  def find_or_create_spreadsheet!
38
38
  file_title = "DBHero - #{@dataclip.title}"
39
39
 
40
- spreadsheet = @session.spreadsheet_by_title(file_title)
41
-
42
- worksheet = (spreadsheet || upload_from_string(file_title)).worksheets[0]
40
+ worksheet = upload_from_string(file_title).worksheets[0]
43
41
  worksheet[1,1] = "=importData(\"#{@options[:import_data_url]}\")"
44
42
  worksheet.save
45
43
 
@@ -1,3 +1,3 @@
1
1
  module Dbhero
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
3
3
  end
@@ -0,0 +1,415 @@
1
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
2
+  (119.9ms) DROP DATABASE IF EXISTS "dummy_test"
3
+  (259.5ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
4
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
5
+  (14.3ms) CREATE TABLE "dbhero_dataclips" ("id" serial primary key, "description" text NOT NULL, "raw_query" text NOT NULL, "token" text NOT NULL, "user" text, "private" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
6
+  (1.7ms) CREATE UNIQUE INDEX "index_dbhero_dataclips_on_token" ON "dbhero_dataclips" USING btree ("token")
7
+  (1.4ms) CREATE INDEX "index_dbhero_dataclips_on_user" ON "dbhero_dataclips" USING btree ("user")
8
+  (3.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
9
+  (1.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
10
+  (0.5ms) SELECT version FROM "schema_migrations"
11
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150323172444')
12
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
13
+  (0.4ms) BEGIN
14
+ Processing by Dbhero::DataclipsController#index as HTML
15
+ Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
16
+  (0.2ms) ROLLBACK
17
+  (0.1ms) BEGIN
18
+ Processing by Dbhero::DataclipsController#index as HTML
19
+ Rendered /Users/diogo/Projects/dbhero/app/views/dbhero/dataclips/index.html.slim within layouts/dbhero/application (0.3ms)
20
+ Completed 200 OK in 20ms (Views: 19.0ms | ActiveRecord: 0.0ms)
21
+  (0.1ms) ROLLBACK
22
+  (0.1ms) BEGIN
23
+ Processing by Dbhero::DataclipsController#index as HTML
24
+ Rendered /Users/diogo/Projects/dbhero/app/views/dbhero/dataclips/index.html.slim within layouts/dbhero/application (0.2ms)
25
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
26
+  (0.1ms) ROLLBACK
27
+  (0.1ms) BEGIN
28
+ Processing by Dbhero::DataclipsController#index as HTML
29
+ Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
30
+  (0.2ms) ROLLBACK
31
+  (0.1ms) BEGIN
32
+ Processing by Dbhero::DataclipsController#index as HTML
33
+ Rendered /Users/diogo/Projects/dbhero/app/views/dbhero/dataclips/index.html.slim within layouts/dbhero/application (0.3ms)
34
+ Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
35
+  (0.2ms) ROLLBACK
36
+  (0.1ms) BEGIN
37
+ Processing by Dbhero::DataclipsController#new as HTML
38
+ Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
39
+  (0.1ms) ROLLBACK
40
+  (0.1ms) BEGIN
41
+ Processing by Dbhero::DataclipsController#new as HTML
42
+ Rendered /Users/diogo/Projects/dbhero/app/views/dbhero/dataclips/new.html.slim within layouts/dbhero/application (0.3ms)
43
+ Completed 200 OK in 41ms (Views: 5.6ms | ActiveRecord: 9.5ms)
44
+  (0.2ms) ROLLBACK
45
+  (0.1ms) BEGIN
46
+ Processing by Dbhero::DataclipsController#new as HTML
47
+ Rendered /Users/diogo/Projects/dbhero/app/views/dbhero/dataclips/new.html.slim within layouts/dbhero/application (0.2ms)
48
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
49
+  (0.1ms) ROLLBACK
50
+  (0.1ms) BEGIN
51
+ Processing by Dbhero::DataclipsController#new as HTML
52
+ Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
53
+  (0.2ms) ROLLBACK
54
+  (0.2ms) BEGIN
55
+ Processing by Dbhero::DataclipsController#new as HTML
56
+ Rendered /Users/diogo/Projects/dbhero/app/views/dbhero/dataclips/new.html.slim within layouts/dbhero/application (0.2ms)
57
+ Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
58
+  (0.1ms) ROLLBACK
59
+  (0.1ms) BEGIN
60
+ Processing by Dbhero::DataclipsController#create as HTML
61
+ Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
62
+ Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
63
+  (0.1ms) ROLLBACK
64
+  (0.1ms) BEGIN
65
+ Processing by Dbhero::DataclipsController#create as HTML
66
+ Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
67
+  (0.2ms) SAVEPOINT active_record_1
68
+ SQL (3.1ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "user", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["description", "foo bar"], ["raw_query", "select 'foo' as bar"], ["user", "foo@bar.com"], ["created_at", "2015-05-11 19:01:56.953852"], ["updated_at", "2015-05-11 19:01:56.953852"], ["token", "161b6b6b-fed4-4787-b570-12f6acec1086"]]
69
+  (0.2ms) RELEASE SAVEPOINT active_record_1
70
+ Redirected to http://test.host/dbhero/dataclips/161b6b6b-fed4-4787-b570-12f6acec1086/edit
71
+ Completed 302 Found in 27ms (ActiveRecord: 4.5ms)
72
+  (0.2ms) ROLLBACK
73
+  (0.1ms) BEGIN
74
+ Processing by Dbhero::DataclipsController#create as HTML
75
+ Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
76
+  (0.1ms) SAVEPOINT active_record_1
77
+ SQL (0.4ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "user", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["description", "foo bar"], ["raw_query", "select 'foo' as bar"], ["user", "foo@bar.com"], ["created_at", "2015-05-11 19:01:56.980684"], ["updated_at", "2015-05-11 19:01:56.980684"], ["token", "8c58c622-37fb-46fa-b2d1-346baf152004"]]
78
+  (0.1ms) RELEASE SAVEPOINT active_record_1
79
+ Redirected to http://test.host/dbhero/dataclips/8c58c622-37fb-46fa-b2d1-346baf152004/edit
80
+ Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
81
+ Dbhero::Dataclip Load (0.4ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "foo bar"]]
82
+  (0.2ms) ROLLBACK
83
+  (0.2ms) BEGIN
84
+ Processing by Dbhero::DataclipsController#create as HTML
85
+ Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
86
+  (0.4ms) SAVEPOINT active_record_1
87
+ SQL (0.6ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "user", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["description", "foo bar"], ["raw_query", "select 'foo' as bar"], ["user", "foo@bar.com"], ["created_at", "2015-05-11 19:01:56.997058"], ["updated_at", "2015-05-11 19:01:56.997058"], ["token", "3e314ef5-c3cf-46e7-831e-4b1780a9f1ca"]]
88
+  (0.2ms) RELEASE SAVEPOINT active_record_1
89
+ Redirected to http://test.host/dbhero/dataclips/3e314ef5-c3cf-46e7-831e-4b1780a9f1ca/edit
90
+ Completed 302 Found in 6ms (ActiveRecord: 1.2ms)
91
+  (0.3ms) ROLLBACK
92
+  (0.2ms) BEGIN
93
+ Processing by Dbhero::DataclipsController#create as HTML
94
+ Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
95
+  (0.2ms) SAVEPOINT active_record_1
96
+ SQL (0.4ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "user", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["description", "foo bar"], ["raw_query", "select 'foo' as bar"], ["user", "foo@bar.com"], ["created_at", "2015-05-11 19:01:57.008985"], ["updated_at", "2015-05-11 19:01:57.008985"], ["token", "8949e325-1549-4f4f-9ce3-7c7b9e88eb83"]]
97
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98
+ Redirected to http://test.host/dbhero/dataclips/8949e325-1549-4f4f-9ce3-7c7b9e88eb83/edit
99
+ Completed 302 Found in 10ms (ActiveRecord: 0.7ms)
100
+ Dbhero::Dataclip Load (1.1ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "foo bar"]]
101
+  (0.5ms) ROLLBACK
102
+  (0.2ms) BEGIN
103
+ Processing by Dbhero::DataclipsController#create as HTML
104
+ Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
105
+ Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
106
+  (0.1ms) ROLLBACK
107
+  (0.1ms) BEGIN
108
+ Processing by Dbhero::DataclipsController#create as HTML
109
+ Parameters: {"dataclip"=>{"description"=>"foo bar disabled", "raw_query"=>"select 'foo' as bar"}}
110
+  (0.2ms) SAVEPOINT active_record_1
111
+ SQL (0.4ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "foo bar disabled"], ["raw_query", "select 'foo' as bar"], ["created_at", "2015-05-11 19:01:57.033504"], ["updated_at", "2015-05-11 19:01:57.033504"], ["token", "73bb996f-c65c-486b-9c11-791275d8516b"]]
112
+  (0.2ms) RELEASE SAVEPOINT active_record_1
113
+ Redirected to http://test.host/dbhero/dataclips/73bb996f-c65c-486b-9c11-791275d8516b/edit
114
+ Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
115
+  (0.2ms) ROLLBACK
116
+  (0.1ms) BEGIN
117
+ Processing by Dbhero::DataclipsController#create as HTML
118
+ Parameters: {"dataclip"=>{"description"=>"foo bar disabled", "raw_query"=>"select 'foo' as bar"}}
119
+  (0.2ms) SAVEPOINT active_record_1
120
+ SQL (0.3ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "foo bar disabled"], ["raw_query", "select 'foo' as bar"], ["created_at", "2015-05-11 19:01:57.041962"], ["updated_at", "2015-05-11 19:01:57.041962"], ["token", "2ecfb419-cd4d-4b5b-b3ca-678eb004b823"]]
121
+  (0.1ms) RELEASE SAVEPOINT active_record_1
122
+ Redirected to http://test.host/dbhero/dataclips/2ecfb419-cd4d-4b5b-b3ca-678eb004b823/edit
123
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
124
+ Dbhero::Dataclip Load (0.3ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "foo bar disabled"]]
125
+  (0.1ms) ROLLBACK
126
+  (0.1ms) BEGIN
127
+  (0.1ms) SAVEPOINT active_record_1
128
+ SQL (0.5ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "Dummy query\nwich describes a dummy string and database version"], ["raw_query", "select 'dummy_foo' as dummy_bar, vesion() as db_version"], ["created_at", "2015-05-11 19:01:57.048374"], ["updated_at", "2015-05-11 19:01:57.048374"], ["token", "5700f3da-5724-4950-a6ba-3fb1eeb590ee"]]
129
+  (0.2ms) RELEASE SAVEPOINT active_record_1
130
+ Processing by Dbhero::DataclipsController#edit as HTML
131
+ Parameters: {"id"=>"5700f3da-5724-4950-a6ba-3fb1eeb590ee"}
132
+ Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
133
+  (0.1ms) ROLLBACK
134
+  (0.1ms) BEGIN
135
+  (0.2ms) SAVEPOINT active_record_1
136
+ SQL (0.4ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "Dummy query\nwich describes a dummy string and database version"], ["raw_query", "select 'dummy_foo' as dummy_bar, vesion() as db_version"], ["created_at", "2015-05-11 19:01:57.064889"], ["updated_at", "2015-05-11 19:01:57.064889"], ["token", "fa58c769-a3f1-43e1-b5ba-938def13d322"]]
137
+  (0.1ms) RELEASE SAVEPOINT active_record_1
138
+ Processing by Dbhero::DataclipsController#edit as HTML
139
+ Parameters: {"id"=>"fa58c769-a3f1-43e1-b5ba-938def13d322"}
140
+ Dbhero::Dataclip Load (1.1ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "fa58c769-a3f1-43e1-b5ba-938def13d322"]]
141
+  (0.2ms) SAVEPOINT active_record_1
142
+  (0.8ms) select 'dummy_foo' as dummy_bar, vesion() as db_version
143
+ PG::UndefinedFunction: ERROR: function vesion() does not exist
144
+ LINE 1: select 'dummy_foo' as dummy_bar, vesion() as db_version
145
+ ^
146
+ HINT: No function matches the given name and argument types. You might need to add explicit type casts.
147
+ : select 'dummy_foo' as dummy_bar, vesion() as db_version
148
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
149
+ Rendered /Users/diogo/Projects/dbhero/app/views/dbhero/dataclips/edit.html.slim within layouts/dbhero/application (0.3ms)
150
+ Completed 200 OK in 12ms (Views: 2.9ms | ActiveRecord: 2.4ms)
151
+  (0.2ms) ROLLBACK
152
+  (0.1ms) BEGIN
153
+  (0.1ms) SAVEPOINT active_record_1
154
+ SQL (0.3ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "Dummy query\nwich describes a dummy string and database version"], ["raw_query", "select 'dummy_foo' as dummy_bar, vesion() as db_version"], ["created_at", "2015-05-11 19:01:57.083400"], ["updated_at", "2015-05-11 19:01:57.083400"], ["token", "2d96da7d-9fa7-4b71-944b-6bc9201a21b0"]]
155
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156
+ Processing by Dbhero::DataclipsController#edit as HTML
157
+ Parameters: {"id"=>"2d96da7d-9fa7-4b71-944b-6bc9201a21b0"}
158
+ Dbhero::Dataclip Load (0.3ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "2d96da7d-9fa7-4b71-944b-6bc9201a21b0"]]
159
+  (0.1ms) SAVEPOINT active_record_1
160
+  (0.4ms) select 'dummy_foo' as dummy_bar, vesion() as db_version
161
+ PG::UndefinedFunction: ERROR: function vesion() does not exist
162
+ LINE 1: select 'dummy_foo' as dummy_bar, vesion() as db_version
163
+ ^
164
+ HINT: No function matches the given name and argument types. You might need to add explicit type casts.
165
+ : select 'dummy_foo' as dummy_bar, vesion() as db_version
166
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
167
+ Rendered /Users/diogo/Projects/dbhero/app/views/dbhero/dataclips/edit.html.slim within layouts/dbhero/application (0.2ms)
168
+ Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.9ms)
169
+  (0.1ms) ROLLBACK
170
+  (0.1ms) BEGIN
171
+  (0.1ms) SAVEPOINT active_record_1
172
+ SQL (0.6ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "Dummy query\nwich describes a dummy string and database version"], ["raw_query", "select 'dummy_foo' as dummy_bar, vesion() as db_version"], ["created_at", "2015-05-11 19:01:57.091698"], ["updated_at", "2015-05-11 19:01:57.091698"], ["token", "df5902ec-09b0-4764-a03c-7826d29817a0"]]
173
+  (0.1ms) RELEASE SAVEPOINT active_record_1
174
+ Processing by Dbhero::DataclipsController#edit as HTML
175
+ Parameters: {"id"=>"df5902ec-09b0-4764-a03c-7826d29817a0"}
176
+ Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
177
+  (0.2ms) ROLLBACK
178
+  (0.1ms) BEGIN
179
+  (0.1ms) SAVEPOINT active_record_1
180
+ SQL (0.6ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "Dummy query\nwich describes a dummy string and database version"], ["raw_query", "select 'dummy_foo' as dummy_bar, vesion() as db_version"], ["created_at", "2015-05-11 19:01:57.098399"], ["updated_at", "2015-05-11 19:01:57.098399"], ["token", "349a6cd2-62f4-4754-9c8c-43e54663686c"]]
181
+  (0.2ms) RELEASE SAVEPOINT active_record_1
182
+ Processing by Dbhero::DataclipsController#edit as HTML
183
+ Parameters: {"id"=>"349a6cd2-62f4-4754-9c8c-43e54663686c"}
184
+ Dbhero::Dataclip Load (0.5ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "349a6cd2-62f4-4754-9c8c-43e54663686c"]]
185
+  (0.2ms) SAVEPOINT active_record_1
186
+  (0.5ms) select 'dummy_foo' as dummy_bar, vesion() as db_version
187
+ PG::UndefinedFunction: ERROR: function vesion() does not exist
188
+ LINE 1: select 'dummy_foo' as dummy_bar, vesion() as db_version
189
+ ^
190
+ HINT: No function matches the given name and argument types. You might need to add explicit type casts.
191
+ : select 'dummy_foo' as dummy_bar, vesion() as db_version
192
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
193
+ Rendered /Users/diogo/Projects/dbhero/app/views/dbhero/dataclips/edit.html.slim within layouts/dbhero/application (0.2ms)
194
+ Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 1.6ms)
195
+  (0.2ms) ROLLBACK
196
+  (0.1ms) BEGIN
197
+ Processing by Dbhero::DataclipsController#create as HTML
198
+ Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
199
+ Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
200
+  (0.2ms) ROLLBACK
201
+  (0.1ms) BEGIN
202
+  (0.9ms) SAVEPOINT active_record_1
203
+ SQL (0.3ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "foo bar"], ["raw_query", "select 'foo' as bar"], ["created_at", "2015-05-11 19:01:57.119800"], ["updated_at", "2015-05-11 19:01:57.119800"], ["token", "bebcb621-a50d-437d-826b-b2cd4748c10a"]]
204
+  (0.2ms) RELEASE SAVEPOINT active_record_1
205
+ Processing by Dbhero::DataclipsController#update as HTML
206
+ Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"bebcb621-a50d-437d-826b-b2cd4748c10a"}
207
+ Dbhero::Dataclip Load (0.4ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "bebcb621-a50d-437d-826b-b2cd4748c10a"]]
208
+  (0.2ms) SAVEPOINT active_record_1
209
+ SQL (0.4ms) UPDATE "dbhero_dataclips" SET "description" = $1, "updated_at" = $2 WHERE "dbhero_dataclips"."id" = $3 [["description", "updated"], ["updated_at", "2015-05-11 19:01:57.126244"], ["id", 12]]
210
+  (0.1ms) RELEASE SAVEPOINT active_record_1
211
+ Redirected to http://test.host/dbhero/dataclips/bebcb621-a50d-437d-826b-b2cd4748c10a/edit
212
+ Completed 302 Found in 11ms (ActiveRecord: 1.1ms)
213
+  (0.2ms) ROLLBACK
214
+  (0.1ms) BEGIN
215
+  (0.1ms) SAVEPOINT active_record_1
216
+ SQL (0.2ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "foo bar"], ["raw_query", "select 'foo' as bar"], ["created_at", "2015-05-11 19:01:57.138560"], ["updated_at", "2015-05-11 19:01:57.138560"], ["token", "9aee3a55-cdc1-4a97-847d-41ebb86e18d5"]]
217
+  (0.1ms) RELEASE SAVEPOINT active_record_1
218
+ Processing by Dbhero::DataclipsController#update as HTML
219
+ Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"9aee3a55-cdc1-4a97-847d-41ebb86e18d5"}
220
+ Dbhero::Dataclip Load (0.4ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "9aee3a55-cdc1-4a97-847d-41ebb86e18d5"]]
221
+  (0.1ms) SAVEPOINT active_record_1
222
+ SQL (0.3ms) UPDATE "dbhero_dataclips" SET "description" = $1, "updated_at" = $2 WHERE "dbhero_dataclips"."id" = $3 [["description", "updated"], ["updated_at", "2015-05-11 19:01:57.142513"], ["id", 13]]
223
+  (0.1ms) RELEASE SAVEPOINT active_record_1
224
+ Redirected to http://test.host/dbhero/dataclips/9aee3a55-cdc1-4a97-847d-41ebb86e18d5/edit
225
+ Completed 302 Found in 4ms (ActiveRecord: 1.0ms)
226
+ Dbhero::Dataclip Load (0.2ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "updated"]]
227
+  (0.1ms) ROLLBACK
228
+  (0.1ms) BEGIN
229
+  (0.1ms) SAVEPOINT active_record_1
230
+ SQL (0.3ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "foo bar"], ["raw_query", "select 'foo' as bar"], ["created_at", "2015-05-11 19:01:57.147960"], ["updated_at", "2015-05-11 19:01:57.147960"], ["token", "0a637e35-2f0e-4c7e-9721-14c1bd205f6f"]]
231
+  (0.1ms) RELEASE SAVEPOINT active_record_1
232
+ Processing by Dbhero::DataclipsController#update as HTML
233
+ Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"0a637e35-2f0e-4c7e-9721-14c1bd205f6f"}
234
+ Dbhero::Dataclip Load (0.6ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "0a637e35-2f0e-4c7e-9721-14c1bd205f6f"]]
235
+  (3.1ms) SAVEPOINT active_record_1
236
+ SQL (0.4ms) UPDATE "dbhero_dataclips" SET "description" = $1, "updated_at" = $2 WHERE "dbhero_dataclips"."id" = $3 [["description", "updated"], ["updated_at", "2015-05-11 19:01:57.167461"], ["id", 14]]
237
+  (0.2ms) RELEASE SAVEPOINT active_record_1
238
+ Redirected to http://test.host/dbhero/dataclips/0a637e35-2f0e-4c7e-9721-14c1bd205f6f/edit
239
+ Completed 302 Found in 18ms (ActiveRecord: 4.3ms)
240
+  (0.2ms) ROLLBACK
241
+  (0.1ms) BEGIN
242
+  (0.2ms) SAVEPOINT active_record_1
243
+ SQL (0.3ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "foo bar"], ["raw_query", "select 'foo' as bar"], ["created_at", "2015-05-11 19:01:57.175073"], ["updated_at", "2015-05-11 19:01:57.175073"], ["token", "93eab345-5db9-4659-8e7f-6a4567c83612"]]
244
+  (0.2ms) RELEASE SAVEPOINT active_record_1
245
+ Processing by Dbhero::DataclipsController#update as HTML
246
+ Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"93eab345-5db9-4659-8e7f-6a4567c83612"}
247
+ Dbhero::Dataclip Load (0.2ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "93eab345-5db9-4659-8e7f-6a4567c83612"]]
248
+  (0.1ms) SAVEPOINT active_record_1
249
+ SQL (0.5ms) UPDATE "dbhero_dataclips" SET "description" = $1, "updated_at" = $2 WHERE "dbhero_dataclips"."id" = $3 [["description", "updated"], ["updated_at", "2015-05-11 19:01:57.179429"], ["id", 15]]
250
+  (0.2ms) RELEASE SAVEPOINT active_record_1
251
+ Redirected to http://test.host/dbhero/dataclips/93eab345-5db9-4659-8e7f-6a4567c83612/edit
252
+ Completed 302 Found in 4ms (ActiveRecord: 1.0ms)
253
+ Dbhero::Dataclip Load (0.3ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "updated"]]
254
+  (0.1ms) ROLLBACK
255
+  (0.1ms) BEGIN
256
+  (0.2ms) SAVEPOINT active_record_1
257
+ SQL (0.6ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "foo bar"], ["raw_query", "select 'foo' as bar"], ["created_at", "2015-05-11 19:01:57.186954"], ["updated_at", "2015-05-11 19:01:57.186954"], ["token", "7121e8c2-6988-4a00-9d6b-82ab4dc4f7eb"]]
258
+  (0.2ms) RELEASE SAVEPOINT active_record_1
259
+ Processing by Dbhero::DataclipsController#update as HTML
260
+ Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"7121e8c2-6988-4a00-9d6b-82ab4dc4f7eb"}
261
+ Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
262
+  (0.1ms) ROLLBACK
263
+  (0.1ms) BEGIN
264
+  (0.1ms) SAVEPOINT active_record_1
265
+ SQL (0.7ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "foo bar"], ["raw_query", "select 'foo' as bar"], ["created_at", "2015-05-11 19:01:57.195947"], ["updated_at", "2015-05-11 19:01:57.195947"], ["token", "7034f720-c96f-42f8-abf3-f36fb5b0086c"]]
266
+  (0.1ms) RELEASE SAVEPOINT active_record_1
267
+ Dbhero::Dataclip Load (0.7ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."id" = $1 LIMIT 1 [["id", 17]]
268
+  (0.3ms) ROLLBACK
269
+  (0.2ms) BEGIN
270
+  (0.2ms) SAVEPOINT active_record_1
271
+ SQL (0.4ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "foo bar"], ["raw_query", "select 'foo' as bar"], ["created_at", "2015-05-11 19:01:57.205330"], ["updated_at", "2015-05-11 19:01:57.205330"], ["token", "f74ee3df-16f6-46ea-9598-3735db6caffc"]]
272
+  (0.2ms) RELEASE SAVEPOINT active_record_1
273
+ Processing by Dbhero::DataclipsController#update as HTML
274
+ Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"f74ee3df-16f6-46ea-9598-3735db6caffc"}
275
+ Dbhero::Dataclip Load (1.1ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "f74ee3df-16f6-46ea-9598-3735db6caffc"]]
276
+  (0.6ms) SAVEPOINT active_record_1
277
+ SQL (7.9ms) UPDATE "dbhero_dataclips" SET "description" = $1, "updated_at" = $2 WHERE "dbhero_dataclips"."id" = $3 [["description", "updated"], ["updated_at", "2015-05-11 19:01:57.218953"], ["id", 18]]
278
+  (0.4ms) RELEASE SAVEPOINT active_record_1
279
+ Redirected to http://test.host/dbhero/dataclips/f74ee3df-16f6-46ea-9598-3735db6caffc/edit
280
+ Completed 302 Found in 33ms (ActiveRecord: 10.1ms)
281
+  (0.3ms) ROLLBACK
282
+  (0.1ms) BEGIN
283
+  (0.1ms) SAVEPOINT active_record_1
284
+ SQL (0.3ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "foo bar"], ["raw_query", "select 'foo' as bar"], ["created_at", "2015-05-11 19:01:57.246199"], ["updated_at", "2015-05-11 19:01:57.246199"], ["token", "50d57269-0c3a-44bb-bb0d-657ba1358878"]]
285
+  (0.1ms) RELEASE SAVEPOINT active_record_1
286
+ Processing by Dbhero::DataclipsController#update as HTML
287
+ Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"50d57269-0c3a-44bb-bb0d-657ba1358878"}
288
+ Dbhero::Dataclip Load (0.3ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "50d57269-0c3a-44bb-bb0d-657ba1358878"]]
289
+  (0.2ms) SAVEPOINT active_record_1
290
+ SQL (0.6ms) UPDATE "dbhero_dataclips" SET "description" = $1, "updated_at" = $2 WHERE "dbhero_dataclips"."id" = $3 [["description", "updated"], ["updated_at", "2015-05-11 19:01:57.251752"], ["id", 19]]
291
+  (0.2ms) RELEASE SAVEPOINT active_record_1
292
+ Redirected to http://test.host/dbhero/dataclips/50d57269-0c3a-44bb-bb0d-657ba1358878/edit
293
+ Completed 302 Found in 6ms (ActiveRecord: 1.3ms)
294
+ Dbhero::Dataclip Load (1.5ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "updated"]]
295
+  (1.1ms) ROLLBACK
296
+  (0.1ms) BEGIN
297
+  (0.2ms) ROLLBACK
298
+  (0.1ms) BEGIN
299
+  (0.2ms) ROLLBACK
300
+  (0.1ms) BEGIN
301
+  (0.1ms) ROLLBACK
302
+  (0.1ms) BEGIN
303
+  (0.1ms) SAVEPOINT active_record_1
304
+ SQL (0.2ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "Dummy query\nwich describes a dummy string and database version"], ["raw_query", "select 'dummy_foo' as dummy_bar, vesion() as db_version"], ["created_at", "2015-05-11 19:01:57.285371"], ["updated_at", "2015-05-11 19:01:57.285371"], ["token", "f9774efa-3576-472f-b073-2cbfeff61b42"]]
305
+  (0.1ms) RELEASE SAVEPOINT active_record_1
306
+  (0.7ms) ROLLBACK
307
+  (0.2ms) BEGIN
308
+  (0.2ms) SAVEPOINT active_record_1
309
+ SQL (0.3ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "updated_at", "created_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "Dummy query\nwich describes a dummy string and database version"], ["raw_query", "select 'dummy_foo' as dummy_bar, vesion() as db_version"], ["updated_at", "2015-05-09 19:01:57.289703"], ["created_at", "2015-05-11 19:01:57.292410"], ["token", "dadf7d9f-e220-4b75-8f7b-16a76e3934d1"]]
310
+  (0.2ms) RELEASE SAVEPOINT active_record_1
311
+  (0.2ms) SAVEPOINT active_record_1
312
+ SQL (0.5ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "updated_at", "created_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "Dummy query\nwich describes a dummy string and database version"], ["raw_query", "select 'dummy_foo' as dummy_bar, vesion() as db_version"], ["updated_at", "2015-05-10 19:01:57.294241"], ["created_at", "2015-05-11 19:01:57.295463"], ["token", "f4caf675-fe8e-48b9-be66-f15f02b1e9a4"]]
313
+  (0.1ms) RELEASE SAVEPOINT active_record_1
314
+  (0.1ms) SAVEPOINT active_record_1
315
+ SQL (0.5ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "updated_at", "created_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "Dummy query\nwich describes a dummy string and database version"], ["raw_query", "select 'dummy_foo' as dummy_bar, vesion() as db_version"], ["updated_at", "2015-05-07 19:01:57.297460"], ["created_at", "2015-05-11 19:01:57.298479"], ["token", "54261e2b-61a9-49d4-ae4e-e6094ba903f1"]]
316
+  (0.2ms) RELEASE SAVEPOINT active_record_1
317
+ Dbhero::Dataclip Load (2.2ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" ORDER BY "dbhero_dataclips"."updated_at" DESC
318
+  (0.3ms) ROLLBACK
319
+  (0.1ms) BEGIN
320
+  (0.2ms) SAVEPOINT active_record_1
321
+ SQL (0.4ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "Dummy query\nwich describes a dummy string and database version"], ["raw_query", "select 'dummy_foo' as dummy_bar, vesion() as db_version"], ["created_at", "2015-05-11 19:01:57.306876"], ["updated_at", "2015-05-11 19:01:57.306876"], ["token", "c847fa55-c4ee-4745-a4aa-e8d106bba080"]]
322
+  (0.4ms) RELEASE SAVEPOINT active_record_1
323
+  (0.2ms) ROLLBACK
324
+  (0.1ms) BEGIN
325
+  (0.1ms) SAVEPOINT active_record_1
326
+ SQL (0.3ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "title\ndescription\nfoo"], ["raw_query", "select 'dummy_foo' as dummy_bar, vesion() as db_version"], ["created_at", "2015-05-11 19:01:57.312354"], ["updated_at", "2015-05-11 19:01:57.312354"], ["token", "bab87d28-725a-45b4-927b-aefa5f955154"]]
327
+  (0.2ms) RELEASE SAVEPOINT active_record_1
328
+  (0.1ms) ROLLBACK
329
+  (0.1ms) BEGIN
330
+  (0.2ms) SAVEPOINT active_record_1
331
+ SQL (0.3ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "title\ndescription\nfoo"], ["raw_query", "select 'dummy_foo' as dummy_bar, vesion() as db_version"], ["created_at", "2015-05-11 19:01:57.316414"], ["updated_at", "2015-05-11 19:01:57.316414"], ["token", "9c99a5a8-d500-4894-b8e8-c8654222244e"]]
332
+  (0.1ms) RELEASE SAVEPOINT active_record_1
333
+  (0.1ms) ROLLBACK
334
+  (0.1ms) BEGIN
335
+  (0.1ms) SAVEPOINT active_record_1
336
+ SQL (0.3ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "Dummy query\nwich describes a dummy string and database version"], ["raw_query", "select 'foo'::text as bar, 'bar'::text as foo"], ["created_at", "2015-05-11 19:01:57.319776"], ["updated_at", "2015-05-11 19:01:57.319776"], ["token", "1d83c1e6-f661-4e57-b846-144f7968296e"]]
337
+  (0.2ms) RELEASE SAVEPOINT active_record_1
338
+  (0.1ms) SAVEPOINT active_record_1
339
+  (0.2ms) select 'foo'::text as bar, 'bar'::text as foo
340
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
341
+  (0.3ms) ROLLBACK
342
+  (0.1ms) BEGIN
343
+  (0.1ms) SAVEPOINT active_record_1
344
+ SQL (0.6ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "Dummy query\nwich describes a dummy string and database version"], ["raw_query", "select foo.nest from (select unnest(ARRAY[1,2,3]) as nest) foo"], ["created_at", "2015-05-11 19:01:57.326252"], ["updated_at", "2015-05-11 19:01:57.326252"], ["token", "3c36f907-8173-4168-bddb-d655231ba6d4"]]
345
+  (0.1ms) RELEASE SAVEPOINT active_record_1
346
+  (0.1ms) SAVEPOINT active_record_1
347
+  (0.7ms) select foo.nest from (select unnest(ARRAY[1,2,3]) as nest) foo
348
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
349
+  (0.2ms) ROLLBACK
350
+  (0.1ms) BEGIN
351
+  (0.2ms) SAVEPOINT active_record_1
352
+ SQL (0.5ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "Dummy query\nwich describes a dummy string and database version"], ["raw_query", "select 'foo'::text as bar, 'bar'::text as foo"], ["created_at", "2015-05-11 19:01:57.333033"], ["updated_at", "2015-05-11 19:01:57.333033"], ["token", "c937d6d2-ef59-47dc-8b33-1784b496aa6c"]]
353
+  (0.2ms) RELEASE SAVEPOINT active_record_1
354
+  (0.2ms) SAVEPOINT active_record_1
355
+  (0.2ms) select 'foo'::text as bar, 'bar'::text as foo
356
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
357
+  (0.2ms) ROLLBACK
358
+  (0.1ms) BEGIN
359
+  (0.1ms) SAVEPOINT active_record_1
360
+ SQL (0.3ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "Dummy query\nwich describes a dummy string and database version"], ["raw_query", "select 'foo'::text as bar, 'bar'::text as foo"], ["created_at", "2015-05-11 19:01:57.339226"], ["updated_at", "2015-05-11 19:01:57.339226"], ["token", "ead82051-5e45-4881-910a-b75d3da94a40"]]
361
+  (0.1ms) RELEASE SAVEPOINT active_record_1
362
+  (0.1ms) SAVEPOINT active_record_1
363
+  (0.2ms) select 'foo'::text as bar, 'bar'::text as foo
364
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
365
+  (0.1ms) ROLLBACK
366
+  (0.1ms) BEGIN
367
+  (0.1ms) SAVEPOINT active_record_1
368
+ SQL (0.3ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "Dummy query\nwich describes a dummy string and database version"], ["raw_query", "select 'dummy_foo' as dummy_bar, vesion() as db_version"], ["created_at", "2015-05-11 19:01:57.343130"], ["updated_at", "2015-05-11 19:01:57.343130"], ["token", "71f8b15a-e36c-41cb-97e0-c3f4c865d6ff"]]
369
+  (0.1ms) RELEASE SAVEPOINT active_record_1
370
+  (0.1ms) SAVEPOINT active_record_1
371
+ SQL (0.2ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "Dummy query\nwich describes a dummy string and database version"], ["raw_query", "select 'dummy_foo' as dummy_bar, vesion() as db_version"], ["created_at", "2015-05-11 19:01:57.345151"], ["updated_at", "2015-05-11 19:01:57.345151"], ["token", "4c8b99ee-54fc-4574-b9f0-a74c2a25383d"]]
372
+  (0.1ms) RELEASE SAVEPOINT active_record_1
373
+  (0.1ms) SAVEPOINT active_record_1
374
+ SQL (0.2ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "Dummy query\nwich describes a dummy string and database version"], ["raw_query", "select 'dummy_foo' as dummy_bar, vesion() as db_version"], ["created_at", "2015-05-11 19:01:57.346636"], ["updated_at", "2015-05-11 19:01:57.346636"], ["token", "0cf57af0-0694-4a70-beeb-9fbe8f9510fc"]]
375
+  (0.1ms) RELEASE SAVEPOINT active_record_1
376
+  (0.1ms) SAVEPOINT active_record_1
377
+ SQL (0.3ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "Dummy query\nwich describes a dummy string and database version"], ["raw_query", "select 'dummy_foo' as dummy_bar, vesion() as db_version"], ["created_at", "2015-05-11 19:01:57.348056"], ["updated_at", "2015-05-11 19:01:57.348056"], ["token", "d091caac-0619-4f6b-919f-eae0145f9206"]]
378
+  (0.6ms) RELEASE SAVEPOINT active_record_1
379
+  (0.8ms) SAVEPOINT active_record_1
380
+ SQL (0.5ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "Dummy query\nwich describes a dummy string and database version"], ["raw_query", "select 'dummy_foo' as dummy_bar, vesion() as db_version"], ["created_at", "2015-05-11 19:01:57.355605"], ["updated_at", "2015-05-11 19:01:57.355605"], ["token", "f267a956-7114-482f-b3d8-53c2f7b1c667"]]
381
+  (0.2ms) RELEASE SAVEPOINT active_record_1
382
+  (0.1ms) SAVEPOINT active_record_1
383
+ SQL (3.6ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "Dummy query\nwich describes a dummy string and database version"], ["raw_query", "TRUNCATE table dbhero_dataclips"], ["created_at", "2015-05-11 19:01:57.359897"], ["updated_at", "2015-05-11 19:01:57.359897"], ["token", "cccd2190-b232-42a1-865f-8ed4010688f1"]]
384
+  (0.2ms) RELEASE SAVEPOINT active_record_1
385
+  (0.1ms) SAVEPOINT active_record_1
386
+  (4.7ms) TRUNCATE table dbhero_dataclips
387
+  (1.2ms) ROLLBACK TO SAVEPOINT active_record_1
388
+  (0.7ms) SELECT COUNT(*) FROM "dbhero_dataclips"
389
+  (0.2ms) ROLLBACK
390
+  (0.1ms) BEGIN
391
+  (0.1ms) SAVEPOINT active_record_1
392
+ SQL (0.4ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "Dummy query\nwich describes a dummy string and database version"], ["raw_query", "select 'dummy_foo' as dummy_bar, vesion() as db_version"], ["created_at", "2015-05-11 19:01:57.378312"], ["updated_at", "2015-05-11 19:01:57.378312"], ["token", "03444784-b47f-41a7-ad0b-746e86033d08"]]
393
+  (0.2ms) RELEASE SAVEPOINT active_record_1
394
+  (0.1ms) SAVEPOINT active_record_1
395
+ SQL (0.3ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "Dummy query\nwich describes a dummy string and database version"], ["raw_query", "select 'dummy_foo' as dummy_bar, vesion() as db_version"], ["created_at", "2015-05-11 19:01:57.381317"], ["updated_at", "2015-05-11 19:01:57.381317"], ["token", "d60c231b-0db2-48be-a9ee-1e41f60cd4b5"]]
396
+  (0.1ms) RELEASE SAVEPOINT active_record_1
397
+  (0.1ms) SAVEPOINT active_record_1
398
+ SQL (0.2ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "Dummy query\nwich describes a dummy string and database version"], ["raw_query", "select 'dummy_foo' as dummy_bar, vesion() as db_version"], ["created_at", "2015-05-11 19:01:57.383483"], ["updated_at", "2015-05-11 19:01:57.383483"], ["token", "cf42cd7c-9bdd-4ce6-8d83-79917a98d134"]]
399
+  (0.1ms) RELEASE SAVEPOINT active_record_1
400
+  (0.1ms) SAVEPOINT active_record_1
401
+ SQL (0.2ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "Dummy query\nwich describes a dummy string and database version"], ["raw_query", "select 'dummy_foo' as dummy_bar, vesion() as db_version"], ["created_at", "2015-05-11 19:01:57.385189"], ["updated_at", "2015-05-11 19:01:57.385189"], ["token", "b0d4b2bd-1882-4c4d-acb1-0e3c74e7d37b"]]
402
+  (0.4ms) RELEASE SAVEPOINT active_record_1
403
+  (0.1ms) SAVEPOINT active_record_1
404
+ SQL (0.3ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "Dummy query\nwich describes a dummy string and database version"], ["raw_query", "select 'dummy_foo' as dummy_bar, vesion() as db_version"], ["created_at", "2015-05-11 19:01:57.387305"], ["updated_at", "2015-05-11 19:01:57.387305"], ["token", "8327657d-a8a5-46fb-8f45-fbf3250f4e20"]]
405
+  (0.2ms) RELEASE SAVEPOINT active_record_1
406
+  (0.1ms) SAVEPOINT active_record_1
407
+ SQL (0.3ms) INSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["description", "Dummy query\nwich describes a dummy string and database version"], ["raw_query", "TRUNCATE table dbhero_dataclips; commit;"], ["created_at", "2015-05-11 19:01:57.389593"], ["updated_at", "2015-05-11 19:01:57.389593"], ["token", "0668ed78-a8d8-4767-af11-c0e42efcd013"]]
408
+  (0.1ms) RELEASE SAVEPOINT active_record_1
409
+  (0.1ms) SAVEPOINT active_record_1
410
+  (0.2ms) TRUNCATE table dbhero_dataclips; commit;
411
+ PG::SyntaxError: ERROR: cannot insert multiple commands into a prepared statement
412
+ : TRUNCATE table dbhero_dataclips; commit;
413
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
414
+  (0.3ms) SELECT COUNT(*) FROM "dbhero_dataclips"
415
+  (0.1ms) ROLLBACK
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dbhero
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Antônio Roberto Silva
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-29 00:00:00.000000000 Z
11
+ date: 2015-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -233,6 +233,7 @@ files:
233
233
  - spec/dummy/db/migrate/20150323172444_create_dbhero_dataclips.rb
234
234
  - spec/dummy/db/schema.rb
235
235
  - spec/dummy/log/development.log
236
+ - spec/dummy/log/test.log
236
237
  - spec/dummy/public/404.html
237
238
  - spec/dummy/public/422.html
238
239
  - spec/dummy/public/500.html
@@ -298,6 +299,7 @@ test_files:
298
299
  - spec/dummy/db/migrate/20150323172444_create_dbhero_dataclips.rb
299
300
  - spec/dummy/db/schema.rb
300
301
  - spec/dummy/log/development.log
302
+ - spec/dummy/log/test.log
301
303
  - spec/dummy/public/404.html
302
304
  - spec/dummy/public/422.html
303
305
  - spec/dummy/public/500.html