dbhero 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 04ea97a58981185948410f15d73215eb9caa4c7e
4
- data.tar.gz: fb418837a8c175fec3dcd489427203da481b3a18
3
+ metadata.gz: 5c23060e3131fe2d8e9312750674e7812299d207
4
+ data.tar.gz: a4625d7bfda18246638089a2dcefe98d7e8318b4
5
5
  SHA512:
6
- metadata.gz: 25d1e1f03d9fbf3af2457c4f2cf3d22e829737804703f010d9f2ca145f38266beea804810e8faf4c39b29ea9cba7ece97eef915c531e125d6fb1676436b76b58
7
- data.tar.gz: 4d959ad723d1be89cd081f37a3ade030e80685f408afcc26b29680f9ffbbf611d6a809709350df240c0975325ae7522f032e5d5ed6c22ac80d97062b61630aa6
6
+ metadata.gz: 22e2b6aeeb87fab272691a5913a9b097256e7749ec6139d93e469a48fd510b53984273f35b7b7daf8a62f881bd33d5cc5bea46a46a3f243158b42f526f092fc8
7
+ data.tar.gz: 61dcdf85352e038271a27cd5d03cb74ef24c52862ea280d7709ce49c529f4c9e4d2df7dc2655f56a11d74d6422a4f0b7d1c62e0b5fdf4d639701ee9cd3bc454c
@@ -1,5 +1,6 @@
1
1
  require_dependency "dbhero/application_controller"
2
2
  require_dependency "responders"
3
+ require_dependency "has_scope"
3
4
  require_dependency "google/api_client"
4
5
  require_dependency "google_drive"
5
6
 
@@ -1,3 +1,3 @@
1
1
  module Dbhero
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -3756,3 +3756,430 @@ PG::SyntaxError: ERROR: cannot insert multiple commands into a prepared stateme
3756
3756
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
3757
3757
   (0.4ms) SELECT COUNT(*) FROM "dbhero_dataclips"
3758
3758
   (0.2ms) ROLLBACK
3759
+ ActiveRecord::SchemaMigration Load (1.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
3760
+  (122.0ms) DROP DATABASE IF EXISTS "dummy_test"
3761
+  (362.9ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
3762
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
3763
+  (8.5ms) 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
+  (1.6ms) CREATE UNIQUE INDEX "index_dbhero_dataclips_on_token" ON "dbhero_dataclips" USING btree ("token")
3765
+  (1.6ms) CREATE INDEX "index_dbhero_dataclips_on_user" ON "dbhero_dataclips" USING btree ("user")
3766
+  (3.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
3767
+  (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3768
+  (0.5ms) SELECT version FROM "schema_migrations"
3769
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150323172444')
3770
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
3771
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
3772
+  (122.6ms) DROP DATABASE IF EXISTS "dummy_test"
3773
+  (344.3ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
3774
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
3775
+  (8.5ms) 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
+  (1.7ms) CREATE UNIQUE INDEX "index_dbhero_dataclips_on_token" ON "dbhero_dataclips" USING btree ("token")
3777
+  (1.3ms) CREATE INDEX "index_dbhero_dataclips_on_user" ON "dbhero_dataclips" USING btree ("user")
3778
+  (3.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
3779
+  (1.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3780
+  (0.4ms) SELECT version FROM "schema_migrations"
3781
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150323172444')
3782
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
3783
+  (0.2ms) BEGIN
3784
+ Processing by Dbhero::DataclipsController#index as HTML
3785
+ Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
3786
+  (0.2ms) ROLLBACK
3787
+  (0.1ms) BEGIN
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
+  (0.2ms) ROLLBACK
3792
+  (0.1ms) BEGIN
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
+  (0.2ms) ROLLBACK
3797
+  (0.1ms) BEGIN
3798
+ Processing by Dbhero::DataclipsController#index as HTML
3799
+ Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
3800
+  (0.2ms) ROLLBACK
3801
+  (0.1ms) BEGIN
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
+  (0.2ms) ROLLBACK
3806
+  (0.1ms) BEGIN
3807
+ Processing by Dbhero::DataclipsController#new as HTML
3808
+ Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
3809
+  (0.2ms) ROLLBACK
3810
+  (0.1ms) BEGIN
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
+  (0.2ms) ROLLBACK
3815
+  (0.1ms) BEGIN
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
+  (0.2ms) ROLLBACK
3820
+  (0.1ms) BEGIN
3821
+ Processing by Dbhero::DataclipsController#new as HTML
3822
+ Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
3823
+  (0.2ms) ROLLBACK
3824
+  (0.2ms) BEGIN
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
+  (0.2ms) ROLLBACK
3829
+  (0.1ms) BEGIN
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
+  (0.2ms) ROLLBACK
3834
+  (0.1ms) BEGIN
3835
+ Processing by Dbhero::DataclipsController#create as HTML
3836
+ Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
3837
+  (0.2ms) SAVEPOINT active_record_1
3838
+ SQL (1.2ms) 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.742687"], ["updated_at", "2015-03-24 02:35:59.742687"], ["token", "9a2afdf2-2fe4-4468-b7ff-7c9f264a228e"]]
3839
+  (0.1ms) 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
+  (0.3ms) ROLLBACK
3843
+  (0.1ms) BEGIN
3844
+ Processing by Dbhero::DataclipsController#create as HTML
3845
+ Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
3846
+  (0.2ms) SAVEPOINT active_record_1
3847
+ SQL (0.5ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3849
+ Redirected to http://test.host/dbhero/dataclips/ed2dedac-d84e-47c4-b7f5-09c0a06c7bcd/edit
3850
+ Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
3851
+ Dbhero::Dataclip Load (0.7ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "foo bar"]]
3852
+  (0.4ms) ROLLBACK
3853
+  (0.1ms) BEGIN
3854
+ Processing by Dbhero::DataclipsController#create as HTML
3855
+ Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
3856
+  (0.2ms) SAVEPOINT active_record_1
3857
+ SQL (0.3ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3859
+ Redirected to http://test.host/dbhero/dataclips/6a26bfe2-4808-4f64-bc60-890e3c7275f9/edit
3860
+ Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
3861
+  (0.2ms) ROLLBACK
3862
+  (0.1ms) BEGIN
3863
+ Processing by Dbhero::DataclipsController#create as HTML
3864
+ Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
3865
+  (0.2ms) SAVEPOINT active_record_1
3866
+ 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-03-24 02:35:59.796184"], ["updated_at", "2015-03-24 02:35:59.796184"], ["token", "2725da5d-a49a-4211-8116-d4999f197cd9"]]
3867
+  (0.2ms) 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
+ Dbhero::Dataclip Load (0.4ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "foo bar"]]
3871
+  (0.2ms) ROLLBACK
3872
+  (0.1ms) BEGIN
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
+  (0.2ms) ROLLBACK
3877
+  (0.1ms) BEGIN
3878
+ Processing by Dbhero::DataclipsController#create as HTML
3879
+ Parameters: {"dataclip"=>{"description"=>"foo bar disabled", "raw_query"=>"select 'foo' as bar"}}
3880
+  (0.2ms) SAVEPOINT active_record_1
3881
+ 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-03-24 02:35:59.812448"], ["updated_at", "2015-03-24 02:35:59.812448"], ["token", "f3ab7e28-2a90-4b3a-80e7-9674ca3ce391"]]
3882
+  (0.2ms) 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
+  (0.2ms) ROLLBACK
3886
+  (0.1ms) BEGIN
3887
+ Processing by Dbhero::DataclipsController#create as HTML
3888
+ Parameters: {"dataclip"=>{"description"=>"foo bar disabled", "raw_query"=>"select 'foo' as bar"}}
3889
+  (0.2ms) SAVEPOINT active_record_1
3890
+ 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-03-24 02:35:59.820184"], ["updated_at", "2015-03-24 02:35:59.820184"], ["token", "74f39ea6-e5a9-4c88-98ed-db57f09650a6"]]
3891
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3892
+ Redirected to http://test.host/dbhero/dataclips/74f39ea6-e5a9-4c88-98ed-db57f09650a6/edit
3893
+ Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
3894
+ Dbhero::Dataclip Load (0.3ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "foo bar disabled"]]
3895
+  (0.1ms) ROLLBACK
3896
+  (0.1ms) BEGIN
3897
+  (0.2ms) SAVEPOINT active_record_1
3898
+ 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-03-24 02:35:59.827583"], ["updated_at", "2015-03-24 02:35:59.827583"], ["token", "e5b54cdc-5cce-4704-8dcf-954e4e1f3e76"]]
3899
+  (0.2ms) RELEASE SAVEPOINT active_record_1
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
+  (0.2ms) ROLLBACK
3904
+  (0.1ms) BEGIN
3905
+  (0.2ms) SAVEPOINT active_record_1
3906
+ 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-03-24 02:35:59.835640"], ["updated_at", "2015-03-24 02:35:59.835640"], ["token", "17fbbb09-7fcc-4645-8bfc-57891fbce817"]]
3907
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3908
+ Processing by Dbhero::DataclipsController#edit as HTML
3909
+ Parameters: {"id"=>"17fbbb09-7fcc-4645-8bfc-57891fbce817"}
3910
+ Dbhero::Dataclip Load (0.4ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "17fbbb09-7fcc-4645-8bfc-57891fbce817"]]
3911
+  (0.1ms) SAVEPOINT active_record_1
3912
+  (1.1ms) select 'dummy_foo' as dummy_bar, vesion() as db_version
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
+  (0.1ms) 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
+  (0.2ms) ROLLBACK
3922
+  (0.1ms) BEGIN
3923
+  (0.2ms) SAVEPOINT active_record_1
3924
+ 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-03-24 02:35:59.852134"], ["updated_at", "2015-03-24 02:35:59.852134"], ["token", "944b72e3-c46f-4907-a6fd-dc7c6d384035"]]
3925
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3926
+ Processing by Dbhero::DataclipsController#edit as HTML
3927
+ Parameters: {"id"=>"944b72e3-c46f-4907-a6fd-dc7c6d384035"}
3928
+ Dbhero::Dataclip Load (0.4ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "944b72e3-c46f-4907-a6fd-dc7c6d384035"]]
3929
+  (0.1ms) SAVEPOINT active_record_1
3930
+  (0.4ms) 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
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
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
+  (0.3ms) ROLLBACK
3940
+  (0.1ms) BEGIN
3941
+  (0.2ms) SAVEPOINT active_record_1
3942
+ 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-03-24 02:35:59.862562"], ["updated_at", "2015-03-24 02:35:59.862562"], ["token", "8c249e31-3eac-40a7-b733-72f9e0745512"]]
3943
+  (0.1ms) 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
+  (0.2ms) ROLLBACK
3948
+  (0.1ms) BEGIN
3949
+  (0.1ms) SAVEPOINT active_record_1
3950
+ 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-03-24 02:35:59.869319"], ["updated_at", "2015-03-24 02:35:59.869319"], ["token", "697f3c2e-8208-475c-99c3-0e2c7f773314"]]
3951
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3952
+ Processing by Dbhero::DataclipsController#edit as HTML
3953
+ Parameters: {"id"=>"697f3c2e-8208-475c-99c3-0e2c7f773314"}
3954
+ Dbhero::Dataclip Load (0.4ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "697f3c2e-8208-475c-99c3-0e2c7f773314"]]
3955
+  (0.1ms) SAVEPOINT active_record_1
3956
+  (0.3ms) 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
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
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
+  (0.3ms) ROLLBACK
3966
+  (0.1ms) BEGIN
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
+  (0.2ms) ROLLBACK
3971
+  (0.1ms) BEGIN
3972
+  (0.2ms) SAVEPOINT active_record_1
3973
+ 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-03-24 02:35:59.883865"], ["updated_at", "2015-03-24 02:35:59.883865"], ["token", "8bc96b2c-74ec-4990-a1f1-7f95641023ce"]]
3974
+  (0.1ms) 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
+ Dbhero::Dataclip Load (0.4ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "8bc96b2c-74ec-4990-a1f1-7f95641023ce"]]
3978
+  (0.1ms) SAVEPOINT active_record_1
3979
+ SQL (0.4ms) UPDATE "dbhero_dataclips" SET "description" = $1, "updated_at" = $2 WHERE "dbhero_dataclips"."id" = $3 [["description", "updated"], ["updated_at", "2015-03-24 02:35:59.888863"], ["id", 12]]
3980
+  (0.1ms) 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
+  (0.2ms) ROLLBACK
3984
+  (0.1ms) BEGIN
3985
+  (0.1ms) SAVEPOINT active_record_1
3986
+ 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-03-24 02:35:59.902117"], ["updated_at", "2015-03-24 02:35:59.902117"], ["token", "e5b0ed5a-5018-4855-b9e3-349f9a9ecd45"]]
3987
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3988
+ Processing by Dbhero::DataclipsController#update as HTML
3989
+ Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"e5b0ed5a-5018-4855-b9e3-349f9a9ecd45"}
3990
+ Dbhero::Dataclip Load (0.5ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "e5b0ed5a-5018-4855-b9e3-349f9a9ecd45"]]
3991
+  (0.2ms) SAVEPOINT active_record_1
3992
+ SQL (0.5ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3994
+ Redirected to http://test.host/dbhero/dataclips/e5b0ed5a-5018-4855-b9e3-349f9a9ecd45/edit
3995
+ Completed 302 Found in 6ms (ActiveRecord: 1.4ms)
3996
+ Dbhero::Dataclip Load (0.5ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "updated"]]
3997
+  (0.3ms) ROLLBACK
3998
+  (0.1ms) BEGIN
3999
+  (0.2ms) SAVEPOINT active_record_1
4000
+ 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-03-24 02:35:59.916626"], ["updated_at", "2015-03-24 02:35:59.916626"], ["token", "6a1f0963-cd58-4e9d-90b5-d2294bc529a3"]]
4001
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4002
+ Processing by Dbhero::DataclipsController#update as HTML
4003
+ Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"6a1f0963-cd58-4e9d-90b5-d2294bc529a3"}
4004
+ Dbhero::Dataclip Load (0.4ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "6a1f0963-cd58-4e9d-90b5-d2294bc529a3"]]
4005
+  (0.1ms) SAVEPOINT active_record_1
4006
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4008
+ Redirected to http://test.host/dbhero/dataclips/6a1f0963-cd58-4e9d-90b5-d2294bc529a3/edit
4009
+ Completed 302 Found in 4ms (ActiveRecord: 1.1ms)
4010
+  (0.2ms) ROLLBACK
4011
+  (0.1ms) BEGIN
4012
+  (0.2ms) SAVEPOINT active_record_1
4013
+ 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-03-24 02:35:59.928172"], ["updated_at", "2015-03-24 02:35:59.928172"], ["token", "53efdb1a-298e-4213-846b-22d0bbf3f491"]]
4014
+  (0.2ms) 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
+ Dbhero::Dataclip Load (0.2ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "53efdb1a-298e-4213-846b-22d0bbf3f491"]]
4018
+  (0.2ms) SAVEPOINT active_record_1
4019
+ SQL (0.5ms) UPDATE "dbhero_dataclips" SET "description" = $1, "updated_at" = $2 WHERE "dbhero_dataclips"."id" = $3 [["description", "updated"], ["updated_at", "2015-03-24 02:35:59.933530"], ["id", 15]]
4020
+  (0.2ms) 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
+ Dbhero::Dataclip Load (0.3ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "updated"]]
4024
+  (0.2ms) ROLLBACK
4025
+  (0.1ms) BEGIN
4026
+  (0.2ms) SAVEPOINT active_record_1
4027
+ 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-03-24 02:35:59.940929"], ["updated_at", "2015-03-24 02:35:59.940929"], ["token", "1567636a-7b86-4ef8-ba79-18494716bc0a"]]
4028
+  (0.1ms) 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
+  (0.2ms) ROLLBACK
4033
+  (0.1ms) BEGIN
4034
+  (0.2ms) SAVEPOINT active_record_1
4035
+ 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-03-24 02:35:59.947785"], ["updated_at", "2015-03-24 02:35:59.947785"], ["token", "d328398b-9c66-4598-87f0-8afa9d9bde32"]]
4036
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4037
+ Dbhero::Dataclip Load (0.3ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."id" = $1 LIMIT 1 [["id", 17]]
4038
+  (0.1ms) ROLLBACK
4039
+  (0.1ms) BEGIN
4040
+  (0.1ms) SAVEPOINT active_record_1
4041
+ 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-03-24 02:35:59.953803"], ["updated_at", "2015-03-24 02:35:59.953803"], ["token", "5b53036e-e719-4e65-b7e2-e4fc0ddf7970"]]
4042
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4043
+ Processing by Dbhero::DataclipsController#update as HTML
4044
+ Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"5b53036e-e719-4e65-b7e2-e4fc0ddf7970"}
4045
+ Dbhero::Dataclip Load (0.2ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "5b53036e-e719-4e65-b7e2-e4fc0ddf7970"]]
4046
+  (0.1ms) SAVEPOINT active_record_1
4047
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4049
+ Redirected to http://test.host/dbhero/dataclips/5b53036e-e719-4e65-b7e2-e4fc0ddf7970/edit
4050
+ Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
4051
+  (0.2ms) ROLLBACK
4052
+  (0.1ms) BEGIN
4053
+  (0.1ms) SAVEPOINT active_record_1
4054
+ 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-03-24 02:35:59.963483"], ["updated_at", "2015-03-24 02:35:59.963483"], ["token", "a0ac3d66-ebc0-4df8-9476-eee1f36217e2"]]
4055
+  (0.1ms) 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
+ Dbhero::Dataclip Load (0.2ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "a0ac3d66-ebc0-4df8-9476-eee1f36217e2"]]
4059
+  (0.1ms) SAVEPOINT active_record_1
4060
+ SQL (0.4ms) UPDATE "dbhero_dataclips" SET "description" = $1, "updated_at" = $2 WHERE "dbhero_dataclips"."id" = $3 [["description", "updated"], ["updated_at", "2015-03-24 02:35:59.967657"], ["id", 19]]
4061
+  (0.1ms) 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
+ Dbhero::Dataclip Load (0.3ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "updated"]]
4065
+  (0.1ms) ROLLBACK
4066
+  (0.1ms) BEGIN
4067
+  (0.2ms) ROLLBACK
4068
+  (0.2ms) BEGIN
4069
+  (0.2ms) ROLLBACK
4070
+  (0.1ms) BEGIN
4071
+  (0.1ms) ROLLBACK
4072
+  (0.1ms) BEGIN
4073
+  (0.1ms) SAVEPOINT active_record_1
4074
+ 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-03-24 02:35:59.993996"], ["updated_at", "2015-03-24 02:35:59.993996"], ["token", "64050fff-9910-4637-b667-d90c479e7675"]]
4075
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4076
+  (0.1ms) ROLLBACK
4077
+  (0.1ms) BEGIN
4078
+  (0.2ms) SAVEPOINT active_record_1
4079
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4081
+  (0.1ms) SAVEPOINT active_record_1
4082
+ 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-03-23 02:36:00.001819"], ["created_at", "2015-03-24 02:36:00.002815"], ["token", "1194a36c-86ae-463c-b2ab-70f20cad8a5f"]]
4083
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4084
+  (0.3ms) SAVEPOINT active_record_1
4085
+ SQL (0.6ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4087
+ Dbhero::Dataclip Load (1.8ms) SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" ORDER BY "dbhero_dataclips"."updated_at" DESC
4088
+  (0.2ms) ROLLBACK
4089
+  (0.4ms) BEGIN
4090
+  (0.2ms) SAVEPOINT active_record_1
4091
+ 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-03-24 02:36:00.028416"], ["updated_at", "2015-03-24 02:36:00.028416"], ["token", "4cb46ed9-a72e-4eaa-b772-db724818455f"]]
4092
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4093
+  (0.2ms) ROLLBACK
4094
+  (0.2ms) BEGIN
4095
+  (0.5ms) SAVEPOINT active_record_1
4096
+ SQL (0.4ms) 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.033991"], ["updated_at", "2015-03-24 02:36:00.033991"], ["token", "672cc5ea-00cb-4917-80df-193b90c44ffa"]]
4097
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4098
+  (0.1ms) ROLLBACK
4099
+  (0.1ms) BEGIN
4100
+  (0.1ms) SAVEPOINT active_record_1
4101
+ 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-03-24 02:36:00.038515"], ["updated_at", "2015-03-24 02:36:00.038515"], ["token", "9d8290af-5b9f-46a0-a602-8d7de3890c9f"]]
4102
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4103
+  (0.1ms) ROLLBACK
4104
+  (0.1ms) BEGIN
4105
+  (0.1ms) SAVEPOINT active_record_1
4106
+ 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-03-24 02:36:00.042077"], ["updated_at", "2015-03-24 02:36:00.042077"], ["token", "86c00eab-9d20-4b4a-ace0-2b9418ccc904"]]
4107
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4108
+  (0.2ms) SAVEPOINT active_record_1
4109
+  (0.3ms) select 'foo'::text as bar, 'bar'::text as foo
4110
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
4111
+  (0.3ms) ROLLBACK
4112
+  (0.1ms) BEGIN
4113
+  (0.2ms) SAVEPOINT active_record_1
4114
+ 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.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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4116
+  (0.1ms) SAVEPOINT active_record_1
4117
+  (0.4ms) select foo.nest from (select unnest(ARRAY[1,2,3]) as nest) foo
4118
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
4119
+  (0.2ms) ROLLBACK
4120
+  (0.1ms) BEGIN
4121
+  (0.1ms) SAVEPOINT active_record_1
4122
+ 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-03-24 02:36:00.053562"], ["updated_at", "2015-03-24 02:36:00.053562"], ["token", "56a2d917-f725-4125-9ecb-f95eea186b5b"]]
4123
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4124
+  (0.1ms) SAVEPOINT active_record_1
4125
+  (0.2ms) select 'foo'::text as bar, 'bar'::text as foo
4126
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
4127
+  (0.2ms) ROLLBACK
4128
+  (0.1ms) BEGIN
4129
+  (0.1ms) SAVEPOINT active_record_1
4130
+ 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'::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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4132
+  (0.1ms) SAVEPOINT active_record_1
4133
+  (0.3ms) select 'foo'::text as bar, 'bar'::text as foo
4134
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
4135
+  (0.1ms) ROLLBACK
4136
+  (0.1ms) BEGIN
4137
+  (0.1ms) SAVEPOINT active_record_1
4138
+ 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-03-24 02:36:00.065772"], ["updated_at", "2015-03-24 02:36:00.065772"], ["token", "b3324671-db95-4df0-a851-bb8553d8ddad"]]
4139
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4140
+  (0.1ms) SAVEPOINT active_record_1
4141
+ 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-03-24 02:36:00.068259"], ["updated_at", "2015-03-24 02:36:00.068259"], ["token", "66f9998a-d922-42f5-babb-f0c2a4a3fc2b"]]
4142
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4143
+  (0.1ms) SAVEPOINT active_record_1
4144
+ 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-03-24 02:36:00.070901"], ["updated_at", "2015-03-24 02:36:00.070901"], ["token", "36f81f20-b00f-4861-828a-107babd88895"]]
4145
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4146
+  (0.1ms) SAVEPOINT active_record_1
4147
+ 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-03-24 02:36:00.073210"], ["updated_at", "2015-03-24 02:36:00.073210"], ["token", "b7bb4373-ea02-49aa-9864-bfbe06f68159"]]
4148
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4149
+  (0.1ms) SAVEPOINT active_record_1
4150
+ 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-03-24 02:36:00.075534"], ["updated_at", "2015-03-24 02:36:00.075534"], ["token", "ee904e01-b06f-4f38-b6ab-a4c913675576"]]
4151
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4152
+  (0.1ms) SAVEPOINT active_record_1
4153
+ 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", "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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4155
+  (0.1ms) SAVEPOINT active_record_1
4156
+  (4.4ms) TRUNCATE table dbhero_dataclips
4157
+  (1.6ms) ROLLBACK TO SAVEPOINT active_record_1
4158
+  (0.8ms) SELECT COUNT(*) FROM "dbhero_dataclips"
4159
+  (0.2ms) ROLLBACK
4160
+  (0.1ms) BEGIN
4161
+  (0.1ms) SAVEPOINT active_record_1
4162
+ 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-03-24 02:36:00.091568"], ["updated_at", "2015-03-24 02:36:00.091568"], ["token", "14914afc-cf59-417d-bcb5-15eb29ac12d3"]]
4163
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4164
+  (0.1ms) SAVEPOINT active_record_1
4165
+ 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-03-24 02:36:00.094641"], ["updated_at", "2015-03-24 02:36:00.094641"], ["token", "4fe91e27-9f66-4800-a89e-eea685ddaa1f"]]
4166
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4167
+  (0.2ms) SAVEPOINT active_record_1
4168
+ 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-03-24 02:36:00.097674"], ["updated_at", "2015-03-24 02:36:00.097674"], ["token", "bd3abed2-9fef-4176-b76c-99da5a3f56ff"]]
4169
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4170
+  (0.1ms) SAVEPOINT active_record_1
4171
+ 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-03-24 02:36:00.100589"], ["updated_at", "2015-03-24 02:36:00.100589"], ["token", "05527646-d434-4f04-951e-98cd03135cb8"]]
4172
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4173
+  (0.1ms) SAVEPOINT active_record_1
4174
+ 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-03-24 02:36:00.103065"], ["updated_at", "2015-03-24 02:36:00.103065"], ["token", "3e4c27d4-5f21-4241-8f1e-e48e59df583f"]]
4175
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4176
+  (0.1ms) SAVEPOINT active_record_1
4177
+ 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-03-24 02:36:00.105689"], ["updated_at", "2015-03-24 02:36:00.105689"], ["token", "952a2724-1e1c-45df-98a7-06982314cef3"]]
4178
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4179
+  (0.1ms) SAVEPOINT active_record_1
4180
+  (0.2ms) TRUNCATE table dbhero_dataclips; commit;
4181
+ PG::SyntaxError: ERROR: cannot insert multiple commands into a prepared statement
4182
+ : TRUNCATE table dbhero_dataclips; commit;
4183
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
4184
+  (0.4ms) SELECT COUNT(*) FROM "dbhero_dataclips"
4185
+  (0.4ms) ROLLBACK
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dbhero
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Antônio Roberto Silva