dbhero 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/dbhero/dataclips_controller.rb +1 -0
- data/lib/dbhero/version.rb +1 -1
- data/spec/dummy/log/test.log +427 -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: 5c23060e3131fe2d8e9312750674e7812299d207
|
|
4
|
+
data.tar.gz: a4625d7bfda18246638089a2dcefe98d7e8318b4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 22e2b6aeeb87fab272691a5913a9b097256e7749ec6139d93e469a48fd510b53984273f35b7b7daf8a62f881bd33d5cc5bea46a46a3f243158b42f526f092fc8
|
|
7
|
+
data.tar.gz: 61dcdf85352e038271a27cd5d03cb74ef24c52862ea280d7709ce49c529f4c9e4d2df7dc2655f56a11d74d6422a4f0b7d1c62e0b5fdf4d639701ee9cd3bc454c
|
data/lib/dbhero/version.rb
CHANGED
data/spec/dummy/log/test.log
CHANGED
|
@@ -3756,3 +3756,430 @@ PG::SyntaxError: ERROR: cannot insert multiple commands into a prepared stateme
|
|
|
3756
3756
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
3757
3757
|
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "dbhero_dataclips"[0m
|
|
3758
3758
|
[1m[35m (0.2ms)[0m ROLLBACK
|
|
3759
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
3760
|
+
[1m[36m (122.0ms)[0m [1mDROP DATABASE IF EXISTS "dummy_test"[0m
|
|
3761
|
+
[1m[35m (362.9ms)[0m CREATE DATABASE "dummy_test" ENCODING = 'unicode'
|
|
3762
|
+
[1m[36mSQL (0.4ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
|
3763
|
+
[1m[35m (8.5ms)[0m 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)
|
|
3764
|
+
[1m[36m (1.6ms)[0m [1mCREATE UNIQUE INDEX "index_dbhero_dataclips_on_token" ON "dbhero_dataclips" USING btree ("token")[0m
|
|
3765
|
+
[1m[35m (1.6ms)[0m CREATE INDEX "index_dbhero_dataclips_on_user" ON "dbhero_dataclips" USING btree ("user")
|
|
3766
|
+
[1m[36m (3.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
|
3767
|
+
[1m[35m (1.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
3768
|
+
[1m[36m (0.5ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
3769
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150323172444')
|
|
3770
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.7ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
3771
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
3772
|
+
[1m[36m (122.6ms)[0m [1mDROP DATABASE IF EXISTS "dummy_test"[0m
|
|
3773
|
+
[1m[35m (344.3ms)[0m CREATE DATABASE "dummy_test" ENCODING = 'unicode'
|
|
3774
|
+
[1m[36mSQL (0.4ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
|
3775
|
+
[1m[35m (8.5ms)[0m 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)
|
|
3776
|
+
[1m[36m (1.7ms)[0m [1mCREATE UNIQUE INDEX "index_dbhero_dataclips_on_token" ON "dbhero_dataclips" USING btree ("token")[0m
|
|
3777
|
+
[1m[35m (1.3ms)[0m CREATE INDEX "index_dbhero_dataclips_on_user" ON "dbhero_dataclips" USING btree ("user")
|
|
3778
|
+
[1m[36m (3.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
|
3779
|
+
[1m[35m (1.6ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
3780
|
+
[1m[36m (0.4ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
3781
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150323172444')
|
|
3782
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.6ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
3783
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
|
3784
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
|
3785
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
|
3786
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
3787
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
3788
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
|
3789
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/index.html.slim within layouts/dbhero/application (0.3ms)
|
|
3790
|
+
Completed 200 OK in 19ms (Views: 17.7ms | ActiveRecord: 0.0ms)
|
|
3791
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
3792
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
3793
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
|
3794
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/index.html.slim within layouts/dbhero/application (0.2ms)
|
|
3795
|
+
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
|
3796
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
3797
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
3798
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
|
3799
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
|
3800
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
3801
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
3802
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
|
3803
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/index.html.slim within layouts/dbhero/application (0.3ms)
|
|
3804
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
|
3805
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
3806
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
3807
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
|
3808
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
|
3809
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
3810
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
3811
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
|
3812
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/new.html.slim within layouts/dbhero/application (0.5ms)
|
|
3813
|
+
Completed 200 OK in 22ms (Views: 4.6ms | ActiveRecord: 8.0ms)
|
|
3814
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
3815
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
3816
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
|
3817
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/new.html.slim within layouts/dbhero/application (0.2ms)
|
|
3818
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
|
3819
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
3820
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
3821
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
|
3822
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
|
3823
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
3824
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
|
3825
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
|
3826
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/new.html.slim within layouts/dbhero/application (0.2ms)
|
|
3827
|
+
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
|
3828
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
3829
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
3830
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
|
3831
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
|
3832
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
|
3833
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
3834
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
3835
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
|
3836
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
|
3837
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
3838
|
+
[1m[36mSQL (1.2ms)[0m [1mINSERT INTO "dbhero_dataclips" ("description", "raw_query", "user", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["description", "foo bar"], ["raw_query", "select 'foo' as bar"], ["user", "foo@bar.com"], ["created_at", "2015-03-24 02:35:59.742687"], ["updated_at", "2015-03-24 02:35:59.742687"], ["token", "9a2afdf2-2fe4-4468-b7ff-7c9f264a228e"]]
|
|
3839
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3840
|
+
Redirected to http://test.host/dbhero/dataclips/9a2afdf2-2fe4-4468-b7ff-7c9f264a228e/edit
|
|
3841
|
+
Completed 302 Found in 23ms (ActiveRecord: 1.8ms)
|
|
3842
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
|
3843
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
3844
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
|
3845
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
|
3846
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3847
|
+
[1m[35mSQL (0.5ms)[0m 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-03-24 02:35:59.767576"], ["updated_at", "2015-03-24 02:35:59.767576"], ["token", "ed2dedac-d84e-47c4-b7f5-09c0a06c7bcd"]]
|
|
3848
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3849
|
+
Redirected to http://test.host/dbhero/dataclips/ed2dedac-d84e-47c4-b7f5-09c0a06c7bcd/edit
|
|
3850
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
|
|
3851
|
+
[1m[35mDbhero::Dataclip Load (0.7ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "foo bar"]]
|
|
3852
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
|
3853
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
3854
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
|
3855
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
|
3856
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3857
|
+
[1m[35mSQL (0.3ms)[0m 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-03-24 02:35:59.788103"], ["updated_at", "2015-03-24 02:35:59.788103"], ["token", "6a26bfe2-4808-4f64-bc60-890e3c7275f9"]]
|
|
3858
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3859
|
+
Redirected to http://test.host/dbhero/dataclips/6a26bfe2-4808-4f64-bc60-890e3c7275f9/edit
|
|
3860
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
|
|
3861
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
3862
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
3863
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
|
3864
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
|
3865
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
3866
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dbhero_dataclips" ("description", "raw_query", "user", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["description", "foo bar"], ["raw_query", "select 'foo' as bar"], ["user", "foo@bar.com"], ["created_at", "2015-03-24 02:35:59.796184"], ["updated_at", "2015-03-24 02:35:59.796184"], ["token", "2725da5d-a49a-4211-8116-d4999f197cd9"]]
|
|
3867
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3868
|
+
Redirected to http://test.host/dbhero/dataclips/2725da5d-a49a-4211-8116-d4999f197cd9/edit
|
|
3869
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
|
|
3870
|
+
[1m[36mDbhero::Dataclip Load (0.4ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1[0m [["description", "foo bar"]]
|
|
3871
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
3872
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
3873
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
|
3874
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
|
3875
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
|
3876
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
3877
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
3878
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
|
3879
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar disabled", "raw_query"=>"select 'foo' as bar"}}
|
|
3880
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
3881
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["description", "foo bar disabled"], ["raw_query", "select 'foo' as bar"], ["created_at", "2015-03-24 02:35:59.812448"], ["updated_at", "2015-03-24 02:35:59.812448"], ["token", "f3ab7e28-2a90-4b3a-80e7-9674ca3ce391"]]
|
|
3882
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3883
|
+
Redirected to http://test.host/dbhero/dataclips/f3ab7e28-2a90-4b3a-80e7-9674ca3ce391/edit
|
|
3884
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
|
|
3885
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
|
3886
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
3887
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
|
3888
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar disabled", "raw_query"=>"select 'foo' as bar"}}
|
|
3889
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3890
|
+
[1m[35mSQL (0.3ms)[0m 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-03-24 02:35:59.820184"], ["updated_at", "2015-03-24 02:35:59.820184"], ["token", "74f39ea6-e5a9-4c88-98ed-db57f09650a6"]]
|
|
3891
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3892
|
+
Redirected to http://test.host/dbhero/dataclips/74f39ea6-e5a9-4c88-98ed-db57f09650a6/edit
|
|
3893
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
|
3894
|
+
[1m[35mDbhero::Dataclip Load (0.3ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "foo bar disabled"]]
|
|
3895
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
3896
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
3897
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3898
|
+
[1m[35mSQL (0.6ms)[0m 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-03-24 02:35:59.827583"], ["updated_at", "2015-03-24 02:35:59.827583"], ["token", "e5b54cdc-5cce-4704-8dcf-954e4e1f3e76"]]
|
|
3899
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3900
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
|
3901
|
+
Parameters: {"id"=>"e5b54cdc-5cce-4704-8dcf-954e4e1f3e76"}
|
|
3902
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
|
3903
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
3904
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
3905
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
3906
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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-03-24 02:35:59.835640"], ["updated_at", "2015-03-24 02:35:59.835640"], ["token", "17fbbb09-7fcc-4645-8bfc-57891fbce817"]]
|
|
3907
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3908
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
|
3909
|
+
Parameters: {"id"=>"17fbbb09-7fcc-4645-8bfc-57891fbce817"}
|
|
3910
|
+
[1m[36mDbhero::Dataclip Load (0.4ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "17fbbb09-7fcc-4645-8bfc-57891fbce817"]]
|
|
3911
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3912
|
+
[1m[36m (1.1ms)[0m [1mselect 'dummy_foo' as dummy_bar, vesion() as db_version[0m
|
|
3913
|
+
PG::UndefinedFunction: ERROR: function vesion() does not exist
|
|
3914
|
+
LINE 1: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
|
3915
|
+
^
|
|
3916
|
+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
|
3917
|
+
: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
|
3918
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
3919
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/edit.html.slim within layouts/dbhero/application (0.5ms)
|
|
3920
|
+
Completed 200 OK in 10ms (Views: 5.7ms | ActiveRecord: 1.8ms)
|
|
3921
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
|
3922
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
3923
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3924
|
+
[1m[35mSQL (0.4ms)[0m 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-03-24 02:35:59.852134"], ["updated_at", "2015-03-24 02:35:59.852134"], ["token", "944b72e3-c46f-4907-a6fd-dc7c6d384035"]]
|
|
3925
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3926
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
|
3927
|
+
Parameters: {"id"=>"944b72e3-c46f-4907-a6fd-dc7c6d384035"}
|
|
3928
|
+
[1m[35mDbhero::Dataclip Load (0.4ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "944b72e3-c46f-4907-a6fd-dc7c6d384035"]]
|
|
3929
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3930
|
+
[1m[35m (0.4ms)[0m select 'dummy_foo' as dummy_bar, vesion() as db_version
|
|
3931
|
+
PG::UndefinedFunction: ERROR: function vesion() does not exist
|
|
3932
|
+
LINE 1: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
|
3933
|
+
^
|
|
3934
|
+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
|
3935
|
+
: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
|
3936
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
3937
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/edit.html.slim within layouts/dbhero/application (0.2ms)
|
|
3938
|
+
Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 1.0ms)
|
|
3939
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
|
3940
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
3941
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
3942
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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-03-24 02:35:59.862562"], ["updated_at", "2015-03-24 02:35:59.862562"], ["token", "8c249e31-3eac-40a7-b733-72f9e0745512"]]
|
|
3943
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3944
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
|
3945
|
+
Parameters: {"id"=>"8c249e31-3eac-40a7-b733-72f9e0745512"}
|
|
3946
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
|
3947
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
|
3948
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
3949
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3950
|
+
[1m[35mSQL (0.3ms)[0m 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-03-24 02:35:59.869319"], ["updated_at", "2015-03-24 02:35:59.869319"], ["token", "697f3c2e-8208-475c-99c3-0e2c7f773314"]]
|
|
3951
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3952
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
|
3953
|
+
Parameters: {"id"=>"697f3c2e-8208-475c-99c3-0e2c7f773314"}
|
|
3954
|
+
[1m[35mDbhero::Dataclip Load (0.4ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "697f3c2e-8208-475c-99c3-0e2c7f773314"]]
|
|
3955
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3956
|
+
[1m[35m (0.3ms)[0m select 'dummy_foo' as dummy_bar, vesion() as db_version
|
|
3957
|
+
PG::UndefinedFunction: ERROR: function vesion() does not exist
|
|
3958
|
+
LINE 1: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
|
3959
|
+
^
|
|
3960
|
+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
|
3961
|
+
: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
|
3962
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
3963
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/edit.html.slim within layouts/dbhero/application (0.3ms)
|
|
3964
|
+
Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.9ms)
|
|
3965
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
|
3966
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
3967
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
|
3968
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
|
3969
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
|
3970
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
3971
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
3972
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
3973
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["description", "foo bar"], ["raw_query", "select 'foo' as bar"], ["created_at", "2015-03-24 02:35:59.883865"], ["updated_at", "2015-03-24 02:35:59.883865"], ["token", "8bc96b2c-74ec-4990-a1f1-7f95641023ce"]]
|
|
3974
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3975
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
|
3976
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"8bc96b2c-74ec-4990-a1f1-7f95641023ce"}
|
|
3977
|
+
[1m[36mDbhero::Dataclip Load (0.4ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "8bc96b2c-74ec-4990-a1f1-7f95641023ce"]]
|
|
3978
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3979
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "dbhero_dataclips" SET "description" = $1, "updated_at" = $2 WHERE "dbhero_dataclips"."id" = $3[0m [["description", "updated"], ["updated_at", "2015-03-24 02:35:59.888863"], ["id", 12]]
|
|
3980
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3981
|
+
Redirected to http://test.host/dbhero/dataclips/8bc96b2c-74ec-4990-a1f1-7f95641023ce/edit
|
|
3982
|
+
Completed 302 Found in 11ms (ActiveRecord: 1.0ms)
|
|
3983
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
|
3984
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
3985
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3986
|
+
[1m[35mSQL (0.3ms)[0m 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-03-24 02:35:59.902117"], ["updated_at", "2015-03-24 02:35:59.902117"], ["token", "e5b0ed5a-5018-4855-b9e3-349f9a9ecd45"]]
|
|
3987
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3988
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
|
3989
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"e5b0ed5a-5018-4855-b9e3-349f9a9ecd45"}
|
|
3990
|
+
[1m[35mDbhero::Dataclip Load (0.5ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "e5b0ed5a-5018-4855-b9e3-349f9a9ecd45"]]
|
|
3991
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3992
|
+
[1m[35mSQL (0.5ms)[0m UPDATE "dbhero_dataclips" SET "description" = $1, "updated_at" = $2 WHERE "dbhero_dataclips"."id" = $3 [["description", "updated"], ["updated_at", "2015-03-24 02:35:59.907563"], ["id", 13]]
|
|
3993
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3994
|
+
Redirected to http://test.host/dbhero/dataclips/e5b0ed5a-5018-4855-b9e3-349f9a9ecd45/edit
|
|
3995
|
+
Completed 302 Found in 6ms (ActiveRecord: 1.4ms)
|
|
3996
|
+
[1m[35mDbhero::Dataclip Load (0.5ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "updated"]]
|
|
3997
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
|
3998
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
3999
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4000
|
+
[1m[35mSQL (0.3ms)[0m 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-03-24 02:35:59.916626"], ["updated_at", "2015-03-24 02:35:59.916626"], ["token", "6a1f0963-cd58-4e9d-90b5-d2294bc529a3"]]
|
|
4001
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
4002
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
|
4003
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"6a1f0963-cd58-4e9d-90b5-d2294bc529a3"}
|
|
4004
|
+
[1m[35mDbhero::Dataclip Load (0.4ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "6a1f0963-cd58-4e9d-90b5-d2294bc529a3"]]
|
|
4005
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4006
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "dbhero_dataclips" SET "description" = $1, "updated_at" = $2 WHERE "dbhero_dataclips"."id" = $3 [["description", "updated"], ["updated_at", "2015-03-24 02:35:59.921675"], ["id", 14]]
|
|
4007
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
4008
|
+
Redirected to http://test.host/dbhero/dataclips/6a1f0963-cd58-4e9d-90b5-d2294bc529a3/edit
|
|
4009
|
+
Completed 302 Found in 4ms (ActiveRecord: 1.1ms)
|
|
4010
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
4011
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
4012
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
4013
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["description", "foo bar"], ["raw_query", "select 'foo' as bar"], ["created_at", "2015-03-24 02:35:59.928172"], ["updated_at", "2015-03-24 02:35:59.928172"], ["token", "53efdb1a-298e-4213-846b-22d0bbf3f491"]]
|
|
4014
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4015
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
|
4016
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"53efdb1a-298e-4213-846b-22d0bbf3f491"}
|
|
4017
|
+
[1m[36mDbhero::Dataclip Load (0.2ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "53efdb1a-298e-4213-846b-22d0bbf3f491"]]
|
|
4018
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
4019
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "dbhero_dataclips" SET "description" = $1, "updated_at" = $2 WHERE "dbhero_dataclips"."id" = $3[0m [["description", "updated"], ["updated_at", "2015-03-24 02:35:59.933530"], ["id", 15]]
|
|
4020
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4021
|
+
Redirected to http://test.host/dbhero/dataclips/53efdb1a-298e-4213-846b-22d0bbf3f491/edit
|
|
4022
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
|
|
4023
|
+
[1m[36mDbhero::Dataclip Load (0.3ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1[0m [["description", "updated"]]
|
|
4024
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
4025
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
4026
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
4027
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["description", "foo bar"], ["raw_query", "select 'foo' as bar"], ["created_at", "2015-03-24 02:35:59.940929"], ["updated_at", "2015-03-24 02:35:59.940929"], ["token", "1567636a-7b86-4ef8-ba79-18494716bc0a"]]
|
|
4028
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4029
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
|
4030
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"1567636a-7b86-4ef8-ba79-18494716bc0a"}
|
|
4031
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
|
4032
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
|
4033
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
4034
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4035
|
+
[1m[35mSQL (0.3ms)[0m 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-03-24 02:35:59.947785"], ["updated_at", "2015-03-24 02:35:59.947785"], ["token", "d328398b-9c66-4598-87f0-8afa9d9bde32"]]
|
|
4036
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
4037
|
+
[1m[35mDbhero::Dataclip Load (0.3ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."id" = $1 LIMIT 1 [["id", 17]]
|
|
4038
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
4039
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
4040
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4041
|
+
[1m[35mSQL (0.3ms)[0m 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-03-24 02:35:59.953803"], ["updated_at", "2015-03-24 02:35:59.953803"], ["token", "5b53036e-e719-4e65-b7e2-e4fc0ddf7970"]]
|
|
4042
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
4043
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
|
4044
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"5b53036e-e719-4e65-b7e2-e4fc0ddf7970"}
|
|
4045
|
+
[1m[35mDbhero::Dataclip Load (0.2ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "5b53036e-e719-4e65-b7e2-e4fc0ddf7970"]]
|
|
4046
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4047
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "dbhero_dataclips" SET "description" = $1, "updated_at" = $2 WHERE "dbhero_dataclips"."id" = $3 [["description", "updated"], ["updated_at", "2015-03-24 02:35:59.957884"], ["id", 18]]
|
|
4048
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
4049
|
+
Redirected to http://test.host/dbhero/dataclips/5b53036e-e719-4e65-b7e2-e4fc0ddf7970/edit
|
|
4050
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
|
|
4051
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
4052
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
4053
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
4054
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["description", "foo bar"], ["raw_query", "select 'foo' as bar"], ["created_at", "2015-03-24 02:35:59.963483"], ["updated_at", "2015-03-24 02:35:59.963483"], ["token", "a0ac3d66-ebc0-4df8-9476-eee1f36217e2"]]
|
|
4055
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4056
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
|
4057
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"a0ac3d66-ebc0-4df8-9476-eee1f36217e2"}
|
|
4058
|
+
[1m[36mDbhero::Dataclip Load (0.2ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "a0ac3d66-ebc0-4df8-9476-eee1f36217e2"]]
|
|
4059
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
4060
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "dbhero_dataclips" SET "description" = $1, "updated_at" = $2 WHERE "dbhero_dataclips"."id" = $3[0m [["description", "updated"], ["updated_at", "2015-03-24 02:35:59.967657"], ["id", 19]]
|
|
4061
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4062
|
+
Redirected to http://test.host/dbhero/dataclips/a0ac3d66-ebc0-4df8-9476-eee1f36217e2/edit
|
|
4063
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
|
|
4064
|
+
[1m[36mDbhero::Dataclip Load (0.3ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1[0m [["description", "updated"]]
|
|
4065
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
4066
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
4067
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
4068
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
|
4069
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
4070
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
4071
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
4072
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
4073
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
4074
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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-03-24 02:35:59.993996"], ["updated_at", "2015-03-24 02:35:59.993996"], ["token", "64050fff-9910-4637-b667-d90c479e7675"]]
|
|
4075
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4076
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
4077
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
4078
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4079
|
+
[1m[35mSQL (0.4ms)[0m 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-03-22 02:35:59.997288"], ["created_at", "2015-03-24 02:35:59.999575"], ["token", "9d216556-2c9c-4819-9e7e-7142ee33192d"]]
|
|
4080
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
4081
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
4082
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dbhero_dataclips" ("description", "raw_query", "updated_at", "created_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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-03-23 02:36:00.001819"], ["created_at", "2015-03-24 02:36:00.002815"], ["token", "1194a36c-86ae-463c-b2ab-70f20cad8a5f"]]
|
|
4083
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4084
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4085
|
+
[1m[35mSQL (0.6ms)[0m 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-03-20 02:36:00.004444"], ["created_at", "2015-03-24 02:36:00.018149"], ["token", "b09b1f90-f71a-4c62-958f-9307bed10700"]]
|
|
4086
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
4087
|
+
[1m[35mDbhero::Dataclip Load (1.8ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" ORDER BY "dbhero_dataclips"."updated_at" DESC
|
|
4088
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
|
4089
|
+
[1m[35m (0.4ms)[0m BEGIN
|
|
4090
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4091
|
+
[1m[35mSQL (0.4ms)[0m 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-03-24 02:36:00.028416"], ["updated_at", "2015-03-24 02:36:00.028416"], ["token", "4cb46ed9-a72e-4eaa-b772-db724818455f"]]
|
|
4092
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
4093
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
4094
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
|
4095
|
+
[1m[35m (0.5ms)[0m SAVEPOINT active_record_1
|
|
4096
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["description", "title\ndescription\nfoo"], ["raw_query", "select 'dummy_foo' as dummy_bar, vesion() as db_version"], ["created_at", "2015-03-24 02:36:00.033991"], ["updated_at", "2015-03-24 02:36:00.033991"], ["token", "672cc5ea-00cb-4917-80df-193b90c44ffa"]]
|
|
4097
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4098
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
4099
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
4100
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4101
|
+
[1m[35mSQL (0.3ms)[0m 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-03-24 02:36:00.038515"], ["updated_at", "2015-03-24 02:36:00.038515"], ["token", "9d8290af-5b9f-46a0-a602-8d7de3890c9f"]]
|
|
4102
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
4103
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
4104
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
4105
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
4106
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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-03-24 02:36:00.042077"], ["updated_at", "2015-03-24 02:36:00.042077"], ["token", "86c00eab-9d20-4b4a-ace0-2b9418ccc904"]]
|
|
4107
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4108
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4109
|
+
[1m[35m (0.3ms)[0m select 'foo'::text as bar, 'bar'::text as foo
|
|
4110
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
4111
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
|
4112
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
4113
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
4114
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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-03-24 02:36:00.047677"], ["updated_at", "2015-03-24 02:36:00.047677"], ["token", "964c9c6b-e9e3-451d-b8c7-31cc2cb61fb0"]]
|
|
4115
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4116
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4117
|
+
[1m[35m (0.4ms)[0m select foo.nest from (select unnest(ARRAY[1,2,3]) as nest) foo
|
|
4118
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
4119
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
4120
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
4121
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
4122
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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-03-24 02:36:00.053562"], ["updated_at", "2015-03-24 02:36:00.053562"], ["token", "56a2d917-f725-4125-9ecb-f95eea186b5b"]]
|
|
4123
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4124
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4125
|
+
[1m[35m (0.2ms)[0m select 'foo'::text as bar, 'bar'::text as foo
|
|
4126
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
4127
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
4128
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
4129
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
4130
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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-03-24 02:36:00.059643"], ["updated_at", "2015-03-24 02:36:00.059643"], ["token", "274a5cb0-26cb-4c7b-b0c8-f5bcbd71f7e4"]]
|
|
4131
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4132
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4133
|
+
[1m[35m (0.3ms)[0m select 'foo'::text as bar, 'bar'::text as foo
|
|
4134
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
4135
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
4136
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
4137
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
4138
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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-03-24 02:36:00.065772"], ["updated_at", "2015-03-24 02:36:00.065772"], ["token", "b3324671-db95-4df0-a851-bb8553d8ddad"]]
|
|
4139
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4140
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4141
|
+
[1m[35mSQL (0.3ms)[0m 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-03-24 02:36:00.068259"], ["updated_at", "2015-03-24 02:36:00.068259"], ["token", "66f9998a-d922-42f5-babb-f0c2a4a3fc2b"]]
|
|
4142
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
4143
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
4144
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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-03-24 02:36:00.070901"], ["updated_at", "2015-03-24 02:36:00.070901"], ["token", "36f81f20-b00f-4861-828a-107babd88895"]]
|
|
4145
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4146
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4147
|
+
[1m[35mSQL (0.3ms)[0m 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-03-24 02:36:00.073210"], ["updated_at", "2015-03-24 02:36:00.073210"], ["token", "b7bb4373-ea02-49aa-9864-bfbe06f68159"]]
|
|
4148
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
4149
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
4150
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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-03-24 02:36:00.075534"], ["updated_at", "2015-03-24 02:36:00.075534"], ["token", "ee904e01-b06f-4f38-b6ab-a4c913675576"]]
|
|
4151
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4152
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4153
|
+
[1m[35mSQL (0.4ms)[0m 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-03-24 02:36:00.078544"], ["updated_at", "2015-03-24 02:36:00.078544"], ["token", "ca287d92-c98f-4a46-88d7-c6665fda459c"]]
|
|
4154
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
4155
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
4156
|
+
[1m[36m (4.4ms)[0m [1mTRUNCATE table dbhero_dataclips[0m
|
|
4157
|
+
[1m[35m (1.6ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
4158
|
+
[1m[36m (0.8ms)[0m [1mSELECT COUNT(*) FROM "dbhero_dataclips"[0m
|
|
4159
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
4160
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
4161
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
4162
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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-03-24 02:36:00.091568"], ["updated_at", "2015-03-24 02:36:00.091568"], ["token", "14914afc-cf59-417d-bcb5-15eb29ac12d3"]]
|
|
4163
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4164
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4165
|
+
[1m[35mSQL (0.4ms)[0m 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-03-24 02:36:00.094641"], ["updated_at", "2015-03-24 02:36:00.094641"], ["token", "4fe91e27-9f66-4800-a89e-eea685ddaa1f"]]
|
|
4166
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
4167
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
4168
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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-03-24 02:36:00.097674"], ["updated_at", "2015-03-24 02:36:00.097674"], ["token", "bd3abed2-9fef-4176-b76c-99da5a3f56ff"]]
|
|
4169
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4170
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4171
|
+
[1m[35mSQL (0.3ms)[0m 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-03-24 02:36:00.100589"], ["updated_at", "2015-03-24 02:36:00.100589"], ["token", "05527646-d434-4f04-951e-98cd03135cb8"]]
|
|
4172
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
4173
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
4174
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dbhero_dataclips" ("description", "raw_query", "created_at", "updated_at", "token") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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-03-24 02:36:00.103065"], ["updated_at", "2015-03-24 02:36:00.103065"], ["token", "3e4c27d4-5f21-4241-8f1e-e48e59df583f"]]
|
|
4175
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4176
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4177
|
+
[1m[35mSQL (0.3ms)[0m 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-03-24 02:36:00.105689"], ["updated_at", "2015-03-24 02:36:00.105689"], ["token", "952a2724-1e1c-45df-98a7-06982314cef3"]]
|
|
4178
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
4179
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
4180
|
+
[1m[36m (0.2ms)[0m [1mTRUNCATE table dbhero_dataclips; commit;[0m
|
|
4181
|
+
PG::SyntaxError: ERROR: cannot insert multiple commands into a prepared statement
|
|
4182
|
+
: TRUNCATE table dbhero_dataclips; commit;
|
|
4183
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
4184
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "dbhero_dataclips"[0m
|
|
4185
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|