dbhero 1.0.0
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 +7 -0
- data/MIT-LICENSE +20 -0
- data/Rakefile +21 -0
- data/app/assets/javascripts/dbhero/application.js +45 -0
- data/app/assets/javascripts/dbhero/dataclips.js +42 -0
- data/app/assets/stylesheets/dbhero/application.css.scss +88 -0
- data/app/controllers/dbhero/application_controller.rb +30 -0
- data/app/controllers/dbhero/dataclips_controller.rb +84 -0
- data/app/helpers/dbhero/application_helper.rb +4 -0
- data/app/helpers/dbhero/dataclips_helper.rb +4 -0
- data/app/models/dbhero/dataclip.rb +50 -0
- data/app/views/dbhero/dataclips/_clip_table.html.slim +38 -0
- data/app/views/dbhero/dataclips/_form.html.slim +32 -0
- data/app/views/dbhero/dataclips/edit.html.slim +6 -0
- data/app/views/dbhero/dataclips/index.html.slim +25 -0
- data/app/views/dbhero/dataclips/new.html.slim +2 -0
- data/app/views/dbhero/dataclips/show.html.slim +18 -0
- data/app/views/layouts/dbhero/application.html.slim +24 -0
- data/config/routes.rb +6 -0
- data/lib/dbhero.rb +7 -0
- data/lib/dbhero/configuration.rb +39 -0
- data/lib/dbhero/engine.rb +9 -0
- data/lib/dbhero/gdrive_exporter.rb +56 -0
- data/lib/dbhero/router_constraint.rb +43 -0
- data/lib/dbhero/version.rb +3 -0
- data/lib/generators/dbhero/install/install_generator.rb +29 -0
- data/lib/generators/dbhero/install/templates/dbhero.rb +26 -0
- data/lib/generators/dbhero/install/templates/migrations/create_dbhero_dataclips.rb +17 -0
- data/lib/tasks/dbhero_tasks.rake +4 -0
- data/spec/controllers/dbhero/dataclips_controller_spec.rb +293 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +27 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +85 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +78 -0
- data/spec/dummy/config/environments/test.rb +39 -0
- data/spec/dummy/config/initializers/assets.rb +8 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/spec/dummy/config/initializers/dbhero.rb +26 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +4 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/db/migrate/20150323172444_create_dbhero_dataclips.rb +17 -0
- data/spec/dummy/db/schema.rb +32 -0
- data/spec/dummy/log/development.log +27 -0
- data/spec/dummy/log/test.log +3758 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/factories.rb +8 -0
- data/spec/models/dbhero/dataclip_spec.rb +119 -0
- data/spec/rails_helper.rb +57 -0
- data/spec/spec_helper.rb +90 -0
- metadata +312 -0
@@ -0,0 +1,16 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Add new inflection rules using the following format. Inflections
|
4
|
+
# are locale specific, and you may define rules for as many different
|
5
|
+
# locales as you wish. All of these examples are active by default:
|
6
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
7
|
+
# inflect.plural /^(ox)$/i, '\1en'
|
8
|
+
# inflect.singular /^(ox)en/i, '\1'
|
9
|
+
# inflect.irregular 'person', 'people'
|
10
|
+
# inflect.uncountable %w( fish sheep )
|
11
|
+
# end
|
12
|
+
|
13
|
+
# These inflection rules are supported but not enabled by default:
|
14
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
15
|
+
# inflect.acronym 'RESTful'
|
16
|
+
# end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
+
# is enabled by default.
|
5
|
+
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
8
|
+
wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
|
9
|
+
end
|
10
|
+
|
11
|
+
# To enable root element in JSON for ActiveRecord objects.
|
12
|
+
# ActiveSupport.on_load(:active_record) do
|
13
|
+
# self.include_root_in_json = true
|
14
|
+
# end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Files in the config/locales directory are used for internationalization
|
2
|
+
# and are automatically loaded by Rails. If you want to use locales other
|
3
|
+
# than English, add the necessary files in this directory.
|
4
|
+
#
|
5
|
+
# To use the locales, use `I18n.t`:
|
6
|
+
#
|
7
|
+
# I18n.t 'hello'
|
8
|
+
#
|
9
|
+
# In views, this is aliased to just `t`:
|
10
|
+
#
|
11
|
+
# <%= t('hello') %>
|
12
|
+
#
|
13
|
+
# To use a different locale, set it with `I18n.locale`:
|
14
|
+
#
|
15
|
+
# I18n.locale = :es
|
16
|
+
#
|
17
|
+
# This would use the information in config/locales/es.yml.
|
18
|
+
#
|
19
|
+
# To learn more, please read the Rails Internationalization guide
|
20
|
+
# available at http://guides.rubyonrails.org/i18n.html.
|
21
|
+
|
22
|
+
en:
|
23
|
+
hello: "Hello world"
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Your secret key is used for verifying the integrity of signed cookies.
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
5
|
+
|
6
|
+
# Make sure the secret is at least 30 characters and all random,
|
7
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
8
|
+
# You can use `rake secret` to generate a secure secret key.
|
9
|
+
|
10
|
+
# Make sure the secrets in this file are kept private
|
11
|
+
# if you're sharing your code publicly.
|
12
|
+
|
13
|
+
development:
|
14
|
+
secret_key_base: c9bccff487d3637543da9433f1c70584a39d2c28a776e9bbbc1870ce556481bda5d4d7d932fd25b25fd327e59ec22261e9bf3378d5bee352e7a90a8fee39b641
|
15
|
+
|
16
|
+
test:
|
17
|
+
secret_key_base: 3c0781205f2ef24221ce87b3dd27654e6723e4aed70b7ca3aac6458dd62c8b936fc4ec66f7727ea970e5e673122ae8f8089a1856e03d3303fac2a122416dc2ce
|
18
|
+
|
19
|
+
# Do not keep production secrets in the repository,
|
20
|
+
# instead read values from the environment.
|
21
|
+
production:
|
22
|
+
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
class CreateDbheroDataclips < ActiveRecord::Migration
|
2
|
+
def change
|
3
|
+
create_table :dbhero_dataclips do |t|
|
4
|
+
t.text :description, null: false
|
5
|
+
t.text :raw_query, null: false
|
6
|
+
t.text :token, null: false
|
7
|
+
t.text :user
|
8
|
+
t.boolean :private, default: false, null: false
|
9
|
+
|
10
|
+
t.timestamps null: false
|
11
|
+
end
|
12
|
+
|
13
|
+
add_index :dbhero_dataclips, :token, unique: true
|
14
|
+
add_index :dbhero_dataclips, :user
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
5
|
+
#
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
7
|
+
# database schema. If you need to create the application database on another
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
|
+
#
|
12
|
+
# It's strongly recommended that you check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(version: 20150323172444) do
|
15
|
+
|
16
|
+
# These are extensions that must be enabled in order to support this database
|
17
|
+
enable_extension "plpgsql"
|
18
|
+
|
19
|
+
create_table "dbhero_dataclips", force: :cascade do |t|
|
20
|
+
t.text "description", null: false
|
21
|
+
t.text "raw_query", null: false
|
22
|
+
t.text "token", null: false
|
23
|
+
t.text "user"
|
24
|
+
t.boolean "private", default: false, null: false
|
25
|
+
t.datetime "created_at", null: false
|
26
|
+
t.datetime "updated_at", null: false
|
27
|
+
end
|
28
|
+
|
29
|
+
add_index "dbhero_dataclips", ["token"], name: "index_dbhero_dataclips_on_token", unique: true, using: :btree
|
30
|
+
add_index "dbhero_dataclips", ["user"], name: "index_dbhero_dataclips_on_user", using: :btree
|
31
|
+
|
32
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
[1m[36m (28.5ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
2
|
+
[1m[35m (3.6ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4
|
+
Migrating to CreateDbheroDataclips (20150323172319)
|
5
|
+
[1m[35m (0.2ms)[0m BEGIN
|
6
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
7
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
8
|
+
Migrating to CreateDbheroDataclips (20150323172444)
|
9
|
+
[1m[35m (0.2ms)[0m BEGIN
|
10
|
+
[1m[36m (24.4ms)[0m [1mCREATE 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) [0m
|
11
|
+
[1m[35m (1.4ms)[0m CREATE UNIQUE INDEX "index_dbhero_dataclips_on_token" ON "dbhero_dataclips" ("token")
|
12
|
+
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_dbhero_dataclips_on_user" ON "dbhero_dataclips" ("user")[0m
|
13
|
+
[1m[35mSQL (1.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150323172444"]]
|
14
|
+
[1m[36m (1.7ms)[0m [1mCOMMIT[0m
|
15
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.6ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
16
|
+
[1m[36m (4.7ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
17
|
+
FROM pg_constraint c
|
18
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
19
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
20
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
21
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
22
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
23
|
+
WHERE c.contype = 'f'
|
24
|
+
AND t1.relname = 'dbhero_dataclips'
|
25
|
+
AND t3.nspname = ANY (current_schemas(false))
|
26
|
+
ORDER BY c.conname
|
27
|
+
[0m
|
@@ -0,0 +1,3758 @@
|
|
1
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2
|
+
[1m[36m (123.4ms)[0m [1mDROP DATABASE IF EXISTS "dummy_test"[0m
|
3
|
+
[1m[35m (351.9ms)[0m CREATE DATABASE "dummy_test" ENCODING = 'unicode'
|
4
|
+
[1m[36mSQL (0.4ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
5
|
+
[1m[35m (9.7ms)[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)
|
6
|
+
[1m[36m (1.8ms)[0m [1mCREATE UNIQUE INDEX "index_dbhero_dataclips_on_token" ON "dbhero_dataclips" USING btree ("token")[0m
|
7
|
+
[1m[35m (1.2ms)[0m CREATE INDEX "index_dbhero_dataclips_on_user" ON "dbhero_dataclips" USING btree ("user")
|
8
|
+
[1m[36m (3.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
9
|
+
[1m[35m (1.6ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
10
|
+
[1m[36m (0.4ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
11
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150323172444')
|
12
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.5ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
13
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
14
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
15
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
16
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
17
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
18
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
19
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/index.html.slim within layouts/dbhero/application (0.4ms)
|
20
|
+
Completed 200 OK in 17ms (Views: 16.2ms | ActiveRecord: 0.0ms)
|
21
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
22
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
23
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
24
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/index.html.slim within layouts/dbhero/application (0.2ms)
|
25
|
+
Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
26
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
27
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
28
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
29
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
30
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
31
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
32
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
33
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/index.html.slim within layouts/dbhero/application (0.3ms)
|
34
|
+
Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
35
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
36
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
37
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
38
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
39
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
40
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
41
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
42
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/new.html.slim within layouts/dbhero/application (0.2ms)
|
43
|
+
Completed 200 OK in 18ms (Views: 3.6ms | ActiveRecord: 7.5ms)
|
44
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
45
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
46
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
47
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/new.html.slim within layouts/dbhero/application (0.3ms)
|
48
|
+
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
49
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
50
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
51
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
52
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
53
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
54
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
55
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
56
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/new.html.slim within layouts/dbhero/application (0.2ms)
|
57
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
58
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
59
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
60
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
61
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
62
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
63
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
64
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
65
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
66
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
67
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
68
|
+
[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-23 20:58:00.177000"], ["updated_at", "2015-03-23 20:58:00.177000"], ["token", "db60bcb7-1663-49c8-9b98-00ddcf2e816d"]]
|
69
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
70
|
+
Redirected to http://test.host/dbhero/dataclips/db60bcb7-1663-49c8-9b98-00ddcf2e816d/edit
|
71
|
+
Completed 302 Found in 21ms (ActiveRecord: 1.7ms)
|
72
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
73
|
+
[1m[35m (0.1ms)[0m BEGIN
|
74
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
75
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
76
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
77
|
+
[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-23 20:58:00.198833"], ["updated_at", "2015-03-23 20:58:00.198833"], ["token", "75fbbe28-1898-46f7-b692-d7b2ec05adb3"]]
|
78
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
79
|
+
Redirected to http://test.host/dbhero/dataclips/75fbbe28-1898-46f7-b692-d7b2ec05adb3/edit
|
80
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
|
81
|
+
[1m[35mDbhero::Dataclip Load (0.5ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "foo bar"]]
|
82
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
83
|
+
[1m[35m (0.1ms)[0m BEGIN
|
84
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
85
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
86
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87
|
+
[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-23 20:58:00.216297"], ["updated_at", "2015-03-23 20:58:00.216297"], ["token", "bd7a501a-305d-4b73-8da8-eb9540d1e617"]]
|
88
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
89
|
+
Redirected to http://test.host/dbhero/dataclips/bd7a501a-305d-4b73-8da8-eb9540d1e617/edit
|
90
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
91
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
92
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
93
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
94
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
95
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
96
|
+
[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-23 20:58:00.224901"], ["updated_at", "2015-03-23 20:58:00.224901"], ["token", "20a3bd6b-1431-4d8d-bcaf-ea94be2eafa0"]]
|
97
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
98
|
+
Redirected to http://test.host/dbhero/dataclips/20a3bd6b-1431-4d8d-bcaf-ea94be2eafa0/edit
|
99
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
|
100
|
+
[1m[36mDbhero::Dataclip Load (0.3ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1[0m [["description", "foo bar"]]
|
101
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
102
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
103
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
104
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
105
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
106
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
107
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
108
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
109
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar disabled", "raw_query"=>"select 'foo' as bar"}}
|
110
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
111
|
+
[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-23 20:58:00.239284"], ["updated_at", "2015-03-23 20:58:00.239284"], ["token", "c1055406-e9e2-475c-9572-71301402a2d8"]]
|
112
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
113
|
+
Redirected to http://test.host/dbhero/dataclips/c1055406-e9e2-475c-9572-71301402a2d8/edit
|
114
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
115
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
116
|
+
[1m[35m (0.2ms)[0m BEGIN
|
117
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
118
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar disabled", "raw_query"=>"select 'foo' as bar"}}
|
119
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
120
|
+
[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", "foo bar disabled"], ["raw_query", "select 'foo' as bar"], ["created_at", "2015-03-23 20:58:00.246930"], ["updated_at", "2015-03-23 20:58:00.246930"], ["token", "13d68c4c-81bd-4d44-8254-239e63e4a4ce"]]
|
121
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
122
|
+
Redirected to http://test.host/dbhero/dataclips/13d68c4c-81bd-4d44-8254-239e63e4a4ce/edit
|
123
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
124
|
+
[1m[35mDbhero::Dataclip Load (0.4ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "foo bar disabled"]]
|
125
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
126
|
+
[1m[35m (0.1ms)[0m BEGIN
|
127
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
128
|
+
[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-23 20:58:00.253559"], ["updated_at", "2015-03-23 20:58:00.253559"], ["token", "21076ed2-4f87-4bf1-a015-e398851d8db5"]]
|
129
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
130
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
131
|
+
Parameters: {"id"=>"21076ed2-4f87-4bf1-a015-e398851d8db5"}
|
132
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
133
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
134
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
135
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
136
|
+
[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-23 20:58:00.261333"], ["updated_at", "2015-03-23 20:58:00.261333"], ["token", "cabe9866-ca5c-4bd2-9878-1ccf665a5f74"]]
|
137
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
138
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
139
|
+
Parameters: {"id"=>"cabe9866-ca5c-4bd2-9878-1ccf665a5f74"}
|
140
|
+
[1m[36mDbhero::Dataclip Load (0.5ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "cabe9866-ca5c-4bd2-9878-1ccf665a5f74"]]
|
141
|
+
[1m[35m (0.6ms)[0m SAVEPOINT active_record_1
|
142
|
+
[1m[36m (0.7ms)[0m [1mselect 'dummy_foo' as dummy_bar, vesion() as db_version[0m
|
143
|
+
PG::UndefinedFunction: ERROR: function vesion() does not exist
|
144
|
+
LINE 1: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
145
|
+
^
|
146
|
+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
147
|
+
: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
148
|
+
[1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
149
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/edit.html.slim within layouts/dbhero/application (0.4ms)
|
150
|
+
Completed 200 OK in 13ms (Views: 6.3ms | ActiveRecord: 1.9ms)
|
151
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
152
|
+
[1m[35m (0.2ms)[0m BEGIN
|
153
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
154
|
+
[1m[35mSQL (0.5ms)[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-23 20:58:00.283510"], ["updated_at", "2015-03-23 20:58:00.283510"], ["token", "29207f92-99f8-478d-b81f-aeb389019c8b"]]
|
155
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
156
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
157
|
+
Parameters: {"id"=>"29207f92-99f8-478d-b81f-aeb389019c8b"}
|
158
|
+
[1m[35mDbhero::Dataclip Load (0.6ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "29207f92-99f8-478d-b81f-aeb389019c8b"]]
|
159
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
160
|
+
[1m[35m (0.7ms)[0m select 'dummy_foo' as dummy_bar, vesion() as db_version
|
161
|
+
PG::UndefinedFunction: ERROR: function vesion() does not exist
|
162
|
+
LINE 1: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
163
|
+
^
|
164
|
+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
165
|
+
: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
166
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
167
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/edit.html.slim within layouts/dbhero/application (0.3ms)
|
168
|
+
Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 1.7ms)
|
169
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
170
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
171
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
172
|
+
[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-23 20:58:00.303812"], ["updated_at", "2015-03-23 20:58:00.303812"], ["token", "c00a9658-fa25-41d7-a91d-acc0a9c60359"]]
|
173
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
174
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
175
|
+
Parameters: {"id"=>"c00a9658-fa25-41d7-a91d-acc0a9c60359"}
|
176
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
177
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
178
|
+
[1m[35m (0.1ms)[0m BEGIN
|
179
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
180
|
+
[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-23 20:58:00.313523"], ["updated_at", "2015-03-23 20:58:00.313523"], ["token", "4dd38482-f172-43dd-8907-5e11dc06b6b2"]]
|
181
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
182
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
183
|
+
Parameters: {"id"=>"4dd38482-f172-43dd-8907-5e11dc06b6b2"}
|
184
|
+
[1m[35mDbhero::Dataclip Load (0.8ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "4dd38482-f172-43dd-8907-5e11dc06b6b2"]]
|
185
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
186
|
+
[1m[35m (0.5ms)[0m select 'dummy_foo' as dummy_bar, vesion() as db_version
|
187
|
+
PG::UndefinedFunction: ERROR: function vesion() does not exist
|
188
|
+
LINE 1: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
189
|
+
^
|
190
|
+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
191
|
+
: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
192
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
193
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/edit.html.slim within layouts/dbhero/application (0.4ms)
|
194
|
+
Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 1.8ms)
|
195
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
196
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
197
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
198
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
199
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
200
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
201
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
202
|
+
[1m[35m (0.7ms)[0m SAVEPOINT active_record_1
|
203
|
+
[1m[36mSQL (3.2ms)[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-23 20:58:00.336540"], ["updated_at", "2015-03-23 20:58:00.336540"], ["token", "116d720a-3723-4a81-9342-f53868dc240a"]]
|
204
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
205
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
206
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"116d720a-3723-4a81-9342-f53868dc240a"}
|
207
|
+
[1m[36mDbhero::Dataclip Load (0.6ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "116d720a-3723-4a81-9342-f53868dc240a"]]
|
208
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
209
|
+
[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-23 20:58:00.346712"], ["id", 12]]
|
210
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
211
|
+
Redirected to http://test.host/dbhero/dataclips/116d720a-3723-4a81-9342-f53868dc240a/edit
|
212
|
+
Completed 302 Found in 18ms (ActiveRecord: 1.6ms)
|
213
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
214
|
+
[1m[35m (0.1ms)[0m BEGIN
|
215
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
216
|
+
[1m[35mSQL (3.8ms)[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-23 20:58:00.365974"], ["updated_at", "2015-03-23 20:58:00.365974"], ["token", "12dc8f6e-c11b-48d6-abb2-6a79f627a9fe"]]
|
217
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
218
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
219
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"12dc8f6e-c11b-48d6-abb2-6a79f627a9fe"}
|
220
|
+
[1m[35mDbhero::Dataclip Load (0.4ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "12dc8f6e-c11b-48d6-abb2-6a79f627a9fe"]]
|
221
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
222
|
+
[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-23 20:58:00.375922"], ["id", 13]]
|
223
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
224
|
+
Redirected to http://test.host/dbhero/dataclips/12dc8f6e-c11b-48d6-abb2-6a79f627a9fe/edit
|
225
|
+
Completed 302 Found in 4ms (ActiveRecord: 1.0ms)
|
226
|
+
[1m[35mDbhero::Dataclip Load (0.3ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "updated"]]
|
227
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
228
|
+
[1m[35m (0.1ms)[0m BEGIN
|
229
|
+
[1m[36m (0.5ms)[0m [1mSAVEPOINT active_record_1[0m
|
230
|
+
[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", "foo bar"], ["raw_query", "select 'foo' as bar"], ["created_at", "2015-03-23 20:58:00.384047"], ["updated_at", "2015-03-23 20:58:00.384047"], ["token", "5a5718db-3b92-4fd4-9a4d-1fbd79f201d2"]]
|
231
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
232
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
233
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"5a5718db-3b92-4fd4-9a4d-1fbd79f201d2"}
|
234
|
+
[1m[35mDbhero::Dataclip Load (0.5ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "5a5718db-3b92-4fd4-9a4d-1fbd79f201d2"]]
|
235
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
236
|
+
[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-23 20:58:00.389830"], ["id", 14]]
|
237
|
+
[1m[36m (0.5ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
238
|
+
Redirected to http://test.host/dbhero/dataclips/5a5718db-3b92-4fd4-9a4d-1fbd79f201d2/edit
|
239
|
+
Completed 302 Found in 6ms (ActiveRecord: 1.6ms)
|
240
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
241
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
242
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
243
|
+
[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", "foo bar"], ["raw_query", "select 'foo' as bar"], ["created_at", "2015-03-23 20:58:00.399822"], ["updated_at", "2015-03-23 20:58:00.399822"], ["token", "b862f14d-f3f2-4e6b-a877-7af93e6e09da"]]
|
244
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
245
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
246
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"b862f14d-f3f2-4e6b-a877-7af93e6e09da"}
|
247
|
+
[1m[36mDbhero::Dataclip Load (1.4ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "b862f14d-f3f2-4e6b-a877-7af93e6e09da"]]
|
248
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
249
|
+
[1m[36mSQL (0.6ms)[0m [1mUPDATE "dbhero_dataclips" SET "description" = $1, "updated_at" = $2 WHERE "dbhero_dataclips"."id" = $3[0m [["description", "updated"], ["updated_at", "2015-03-23 20:58:00.407694"], ["id", 15]]
|
250
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
251
|
+
Redirected to http://test.host/dbhero/dataclips/b862f14d-f3f2-4e6b-a877-7af93e6e09da/edit
|
252
|
+
Completed 302 Found in 10ms (ActiveRecord: 2.3ms)
|
253
|
+
[1m[36mDbhero::Dataclip Load (0.8ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1[0m [["description", "updated"]]
|
254
|
+
[1m[35m (0.9ms)[0m ROLLBACK
|
255
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
256
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
257
|
+
[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", "foo bar"], ["raw_query", "select 'foo' as bar"], ["created_at", "2015-03-23 20:58:00.423279"], ["updated_at", "2015-03-23 20:58:00.423279"], ["token", "70583a13-9593-44c7-80c3-e7e113c68274"]]
|
258
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
259
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
260
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"70583a13-9593-44c7-80c3-e7e113c68274"}
|
261
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
262
|
+
[1m[36m (2.9ms)[0m [1mROLLBACK[0m
|
263
|
+
[1m[35m (0.2ms)[0m BEGIN
|
264
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
265
|
+
[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", "foo bar"], ["raw_query", "select 'foo' as bar"], ["created_at", "2015-03-23 20:58:00.439831"], ["updated_at", "2015-03-23 20:58:00.439831"], ["token", "849ccc5a-c20f-4328-8e44-dbe84059d73b"]]
|
266
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
267
|
+
[1m[35mDbhero::Dataclip Load (0.4ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."id" = $1 LIMIT 1 [["id", 17]]
|
268
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
269
|
+
[1m[35m (0.1ms)[0m BEGIN
|
270
|
+
[1m[36m (0.8ms)[0m [1mSAVEPOINT active_record_1[0m
|
271
|
+
[1m[35mSQL (1.4ms)[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-23 20:58:00.450357"], ["updated_at", "2015-03-23 20:58:00.450357"], ["token", "1603165b-31eb-491d-9f57-223c61e6407b"]]
|
272
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
273
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
274
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"1603165b-31eb-491d-9f57-223c61e6407b"}
|
275
|
+
[1m[35mDbhero::Dataclip Load (0.6ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "1603165b-31eb-491d-9f57-223c61e6407b"]]
|
276
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
277
|
+
[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-23 20:58:00.458386"], ["id", 18]]
|
278
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
279
|
+
Redirected to http://test.host/dbhero/dataclips/1603165b-31eb-491d-9f57-223c61e6407b/edit
|
280
|
+
Completed 302 Found in 7ms (ActiveRecord: 1.4ms)
|
281
|
+
[1m[35m (1.2ms)[0m ROLLBACK
|
282
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
283
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
284
|
+
[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-23 20:58:00.467800"], ["updated_at", "2015-03-23 20:58:00.467800"], ["token", "0d1f79cc-8ad1-404d-b953-eac8f4a18074"]]
|
285
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
286
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
287
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"0d1f79cc-8ad1-404d-b953-eac8f4a18074"}
|
288
|
+
[1m[36mDbhero::Dataclip Load (0.3ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "0d1f79cc-8ad1-404d-b953-eac8f4a18074"]]
|
289
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
290
|
+
[1m[36mSQL (1.3ms)[0m [1mUPDATE "dbhero_dataclips" SET "description" = $1, "updated_at" = $2 WHERE "dbhero_dataclips"."id" = $3[0m [["description", "updated"], ["updated_at", "2015-03-23 20:58:00.474030"], ["id", 19]]
|
291
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
292
|
+
Redirected to http://test.host/dbhero/dataclips/0d1f79cc-8ad1-404d-b953-eac8f4a18074/edit
|
293
|
+
Completed 302 Found in 6ms (ActiveRecord: 2.0ms)
|
294
|
+
[1m[36mDbhero::Dataclip Load (2.1ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1[0m [["description", "updated"]]
|
295
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
296
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
297
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
298
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
299
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
300
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
301
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
302
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
303
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
304
|
+
[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-23 20:58:00.504315"], ["updated_at", "2015-03-23 20:58:00.504315"], ["token", "534b3191-7af9-4f5f-8755-2ed10fb7f7d6"]]
|
305
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
306
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
307
|
+
[1m[35m (0.1ms)[0m BEGIN
|
308
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
309
|
+
[1m[35mSQL (0.3ms)[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-21 20:58:00.507187"], ["created_at", "2015-03-23 20:58:00.509595"], ["token", "7e3d579c-85df-47fe-a2a1-a7c9ef848a67"]]
|
310
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
311
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
312
|
+
[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-22 20:58:00.512002"], ["created_at", "2015-03-23 20:58:00.512748"], ["token", "e43f9247-686a-4986-8696-2d5996a63b35"]]
|
313
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
314
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
315
|
+
[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-19 20:58:00.514163"], ["created_at", "2015-03-23 20:58:00.514941"], ["token", "a1204901-1b87-48cb-88e0-00d14c9823b3"]]
|
316
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
317
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
318
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
319
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
320
|
+
[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-23 20:58:00.519400"], ["updated_at", "2015-03-23 20:58:00.519400"], ["token", "a701e541-1cca-47d1-b731-b146483c8bf3"]]
|
321
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
322
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
323
|
+
[1m[35m (0.1ms)[0m BEGIN
|
324
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
325
|
+
[1m[35mSQL (0.2ms)[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-23 20:58:00.524442"], ["updated_at", "2015-03-23 20:58:00.524442"], ["token", "9e8684b7-04cc-4d6e-b3f0-0d535d9f8772"]]
|
326
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
327
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
328
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
329
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
330
|
+
[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", "title\ndescription\nfoo"], ["raw_query", "select 'dummy_foo' as dummy_bar, vesion() as db_version"], ["created_at", "2015-03-23 20:58:00.527889"], ["updated_at", "2015-03-23 20:58:00.527889"], ["token", "0b64f27a-e255-4954-ab64-8e1ae4ccfa2f"]]
|
331
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
332
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
333
|
+
[1m[35m (0.1ms)[0m BEGIN
|
334
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
335
|
+
[1m[35mSQL (0.2ms)[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 'foo'::text as bar, 'bar'::text as foo"], ["created_at", "2015-03-23 20:58:00.531761"], ["updated_at", "2015-03-23 20:58:00.531761"], ["token", "2bd1fd03-e0f8-425c-b0f5-e1d6f1598a29"]]
|
336
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
337
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
338
|
+
[1m[36m (0.2ms)[0m [1mselect 'foo'::text as bar, 'bar'::text as foo[0m
|
339
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
340
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
341
|
+
[1m[35m (0.1ms)[0m BEGIN
|
342
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
343
|
+
[1m[35mSQL (0.2ms)[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 foo.nest from (select unnest(ARRAY[1,2,3]) as nest) foo"], ["created_at", "2015-03-23 20:58:00.536805"], ["updated_at", "2015-03-23 20:58:00.536805"], ["token", "40cb2035-9f4c-446c-9d6c-07f72e85eaea"]]
|
344
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
345
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
346
|
+
[1m[36m (0.3ms)[0m [1mselect foo.nest from (select unnest(ARRAY[1,2,3]) as nest) foo[0m
|
347
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
348
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
349
|
+
[1m[35m (0.1ms)[0m BEGIN
|
350
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
351
|
+
[1m[35mSQL (0.2ms)[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 'foo'::text as bar, 'bar'::text as foo"], ["created_at", "2015-03-23 20:58:00.541096"], ["updated_at", "2015-03-23 20:58:00.541096"], ["token", "df450411-350b-4e6a-ae66-5425e8ab855a"]]
|
352
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
353
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
354
|
+
[1m[36m (0.2ms)[0m [1mselect 'foo'::text as bar, 'bar'::text as foo[0m
|
355
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
356
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
357
|
+
[1m[35m (0.1ms)[0m BEGIN
|
358
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
359
|
+
[1m[35mSQL (0.2ms)[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 'foo'::text as bar, 'bar'::text as foo"], ["created_at", "2015-03-23 20:58:00.547223"], ["updated_at", "2015-03-23 20:58:00.547223"], ["token", "64ca35fb-27d4-47e0-ab23-358262bfd3a8"]]
|
360
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
361
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
362
|
+
[1m[36m (0.2ms)[0m [1mselect 'foo'::text as bar, 'bar'::text as foo[0m
|
363
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
364
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
365
|
+
[1m[35m (0.1ms)[0m BEGIN
|
366
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
367
|
+
[1m[35mSQL (0.2ms)[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-23 20:58:00.551608"], ["updated_at", "2015-03-23 20:58:00.551608"], ["token", "fdea7d61-b693-4cdf-a127-48c2da0f784f"]]
|
368
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
369
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
370
|
+
[1m[36mSQL (0.2ms)[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-23 20:58:00.553747"], ["updated_at", "2015-03-23 20:58:00.553747"], ["token", "d6823c51-df66-4e7a-abfd-24290c13d9b1"]]
|
371
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
372
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
373
|
+
[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-23 20:58:00.555747"], ["updated_at", "2015-03-23 20:58:00.555747"], ["token", "d9fa3482-8648-4ccc-9cf5-0f52ba4369e5"]]
|
374
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
375
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
376
|
+
[1m[36mSQL (0.2ms)[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-23 20:58:00.559417"], ["updated_at", "2015-03-23 20:58:00.559417"], ["token", "8dca8343-128b-47da-adab-db36233cdada"]]
|
377
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
378
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
379
|
+
[1m[35mSQL (0.2ms)[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-23 20:58:00.561410"], ["updated_at", "2015-03-23 20:58:00.561410"], ["token", "585283df-9c54-4e7a-9556-761712a776aa"]]
|
380
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
381
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
382
|
+
[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", "TRUNCATE table dbhero_dataclips"], ["created_at", "2015-03-23 20:58:00.563359"], ["updated_at", "2015-03-23 20:58:00.563359"], ["token", "35f45912-194d-46ef-af55-2ae756dab81d"]]
|
383
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
384
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
385
|
+
[1m[35m (3.6ms)[0m TRUNCATE table dbhero_dataclips
|
386
|
+
[1m[36m (1.5ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
387
|
+
[1m[35m (1.4ms)[0m SELECT COUNT(*) FROM "dbhero_dataclips"
|
388
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
389
|
+
[1m[35m (0.1ms)[0m BEGIN
|
390
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
391
|
+
[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-23 20:58:00.575467"], ["updated_at", "2015-03-23 20:58:00.575467"], ["token", "48146982-ba6e-4c6b-92cc-40b112fd52b3"]]
|
392
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
393
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
394
|
+
[1m[36mSQL (0.2ms)[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-23 20:58:00.577690"], ["updated_at", "2015-03-23 20:58:00.577690"], ["token", "b01c8852-f296-4ba2-9c06-bfe30a7034f1"]]
|
395
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
396
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
397
|
+
[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-23 20:58:00.580166"], ["updated_at", "2015-03-23 20:58:00.580166"], ["token", "24d02854-3e05-4eaa-ace9-3c0e98802811"]]
|
398
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
399
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
400
|
+
[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-23 20:58:00.582694"], ["updated_at", "2015-03-23 20:58:00.582694"], ["token", "c05641aa-7fdc-422b-98da-bd857b340e4a"]]
|
401
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
402
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
403
|
+
[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-23 20:58:00.584925"], ["updated_at", "2015-03-23 20:58:00.584925"], ["token", "4af4e89b-6bad-442b-afe5-1d5b59a20d5f"]]
|
404
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
405
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
406
|
+
[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", "TRUNCATE table dbhero_dataclips; commit;"], ["created_at", "2015-03-23 20:58:00.587226"], ["updated_at", "2015-03-23 20:58:00.587226"], ["token", "9974d2dd-f503-403c-9db3-a0f9fecd483e"]]
|
407
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
408
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
409
|
+
[1m[35m (0.3ms)[0m TRUNCATE table dbhero_dataclips; commit;
|
410
|
+
PG::SyntaxError: ERROR: cannot insert multiple commands into a prepared statement
|
411
|
+
: TRUNCATE table dbhero_dataclips; commit;
|
412
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
413
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "dbhero_dataclips"
|
414
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
415
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
416
|
+
[1m[36m (120.6ms)[0m [1mDROP DATABASE IF EXISTS "dummy_test"[0m
|
417
|
+
[1m[35m (363.7ms)[0m CREATE DATABASE "dummy_test" ENCODING = 'unicode'
|
418
|
+
[1m[36mSQL (0.7ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
419
|
+
[1m[35m (14.4ms)[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)
|
420
|
+
[1m[36m (2.5ms)[0m [1mCREATE UNIQUE INDEX "index_dbhero_dataclips_on_token" ON "dbhero_dataclips" USING btree ("token")[0m
|
421
|
+
[1m[35m (1.8ms)[0m CREATE INDEX "index_dbhero_dataclips_on_user" ON "dbhero_dataclips" USING btree ("user")
|
422
|
+
[1m[36m (5.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
423
|
+
[1m[35m (2.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
424
|
+
[1m[36m (0.8ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
425
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150323172444')
|
426
|
+
[1m[35mActiveRecord::SchemaMigration Load (1.0ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
427
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
428
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
429
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
430
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
431
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
432
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
433
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/index.html.slim within layouts/dbhero/application (0.6ms)
|
434
|
+
Completed 200 OK in 27ms (Views: 25.5ms | ActiveRecord: 0.0ms)
|
435
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
436
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
437
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
438
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/index.html.slim within layouts/dbhero/application (0.4ms)
|
439
|
+
Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.0ms)
|
440
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
441
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
442
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
443
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
444
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
445
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
446
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
447
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/index.html.slim within layouts/dbhero/application (0.5ms)
|
448
|
+
Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.0ms)
|
449
|
+
[1m[35m (0.7ms)[0m ROLLBACK
|
450
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
451
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
452
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
453
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
454
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
455
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
456
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/new.html.slim within layouts/dbhero/application (0.4ms)
|
457
|
+
Completed 200 OK in 30ms (Views: 6.0ms | ActiveRecord: 10.8ms)
|
458
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
459
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
460
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
461
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/new.html.slim within layouts/dbhero/application (0.3ms)
|
462
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
463
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
464
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
465
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
466
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
467
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
468
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
469
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
470
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/new.html.slim within layouts/dbhero/application (0.5ms)
|
471
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
472
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
473
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
474
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
475
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
476
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
477
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
478
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
479
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
480
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
481
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
482
|
+
[1m[36mSQL (1.6ms)[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-23 20:58:15.089970"], ["updated_at", "2015-03-23 20:58:15.089970"], ["token", "c7cb8cdd-3549-4343-8863-4626e81f9e96"]]
|
483
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
484
|
+
Redirected to http://test.host/dbhero/dataclips/c7cb8cdd-3549-4343-8863-4626e81f9e96/edit
|
485
|
+
Completed 302 Found in 31ms (ActiveRecord: 2.7ms)
|
486
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
487
|
+
[1m[35m (0.2ms)[0m BEGIN
|
488
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
489
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
490
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
491
|
+
[1m[35mSQL (0.6ms)[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-23 20:58:15.123528"], ["updated_at", "2015-03-23 20:58:15.123528"], ["token", "1e5c98fe-20a7-4a44-ba65-7e86121daa8c"]]
|
492
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
493
|
+
Redirected to http://test.host/dbhero/dataclips/1e5c98fe-20a7-4a44-ba65-7e86121daa8c/edit
|
494
|
+
Completed 302 Found in 7ms (ActiveRecord: 1.2ms)
|
495
|
+
[1m[35mDbhero::Dataclip Load (0.8ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "foo bar"]]
|
496
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
497
|
+
[1m[35m (0.2ms)[0m BEGIN
|
498
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
499
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
500
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
501
|
+
[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-23 20:58:15.151801"], ["updated_at", "2015-03-23 20:58:15.151801"], ["token", "9cd5cc8b-8851-4990-b362-4de7f1ca2921"]]
|
502
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
503
|
+
Redirected to http://test.host/dbhero/dataclips/9cd5cc8b-8851-4990-b362-4de7f1ca2921/edit
|
504
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.9ms)
|
505
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
506
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
507
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
508
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
509
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
510
|
+
[1m[36mSQL (0.3ms)[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-23 20:58:15.164614"], ["updated_at", "2015-03-23 20:58:15.164614"], ["token", "36b0d9d5-e727-4fca-9633-69dc39d1567e"]]
|
511
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
512
|
+
Redirected to http://test.host/dbhero/dataclips/36b0d9d5-e727-4fca-9633-69dc39d1567e/edit
|
513
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
|
514
|
+
[1m[36mDbhero::Dataclip Load (0.3ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1[0m [["description", "foo bar"]]
|
515
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
516
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
517
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
518
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
519
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
520
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
521
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
522
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
523
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar disabled", "raw_query"=>"select 'foo' as bar"}}
|
524
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
525
|
+
[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-23 20:58:15.180275"], ["updated_at", "2015-03-23 20:58:15.180275"], ["token", "7e981c81-e477-4c99-9bfe-37297c826239"]]
|
526
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
527
|
+
Redirected to http://test.host/dbhero/dataclips/7e981c81-e477-4c99-9bfe-37297c826239/edit
|
528
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
529
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
530
|
+
[1m[35m (0.2ms)[0m BEGIN
|
531
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
532
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar disabled", "raw_query"=>"select 'foo' as bar"}}
|
533
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
534
|
+
[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-23 20:58:15.188257"], ["updated_at", "2015-03-23 20:58:15.188257"], ["token", "e6d877f5-5648-46d0-8985-1e8a36c0285a"]]
|
535
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
536
|
+
Redirected to http://test.host/dbhero/dataclips/e6d877f5-5648-46d0-8985-1e8a36c0285a/edit
|
537
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
538
|
+
[1m[35mDbhero::Dataclip Load (0.3ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "foo bar disabled"]]
|
539
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
540
|
+
[1m[35m (0.1ms)[0m BEGIN
|
541
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
542
|
+
[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-23 20:58:15.194758"], ["updated_at", "2015-03-23 20:58:15.194758"], ["token", "01566445-6e61-4621-bac6-6fa263ae8b5d"]]
|
543
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
544
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
545
|
+
Parameters: {"id"=>"01566445-6e61-4621-bac6-6fa263ae8b5d"}
|
546
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
547
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
548
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
549
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
550
|
+
[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-23 20:58:15.201681"], ["updated_at", "2015-03-23 20:58:15.201681"], ["token", "e0da4c48-11b0-4e56-b117-08ec111b555b"]]
|
551
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
552
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
553
|
+
Parameters: {"id"=>"e0da4c48-11b0-4e56-b117-08ec111b555b"}
|
554
|
+
[1m[36mDbhero::Dataclip Load (0.3ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "e0da4c48-11b0-4e56-b117-08ec111b555b"]]
|
555
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
556
|
+
[1m[36m (0.4ms)[0m [1mselect 'dummy_foo' as dummy_bar, vesion() as db_version[0m
|
557
|
+
PG::UndefinedFunction: ERROR: function vesion() does not exist
|
558
|
+
LINE 1: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
559
|
+
^
|
560
|
+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
561
|
+
: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
562
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
563
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/edit.html.slim within layouts/dbhero/application (0.2ms)
|
564
|
+
Completed 200 OK in 8ms (Views: 4.5ms | ActiveRecord: 1.0ms)
|
565
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
566
|
+
[1m[35m (0.1ms)[0m BEGIN
|
567
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
568
|
+
[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-23 20:58:15.215504"], ["updated_at", "2015-03-23 20:58:15.215504"], ["token", "c0740445-1a46-45ac-bb61-5761eda0868d"]]
|
569
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
570
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
571
|
+
Parameters: {"id"=>"c0740445-1a46-45ac-bb61-5761eda0868d"}
|
572
|
+
[1m[35mDbhero::Dataclip Load (0.9ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "c0740445-1a46-45ac-bb61-5761eda0868d"]]
|
573
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
574
|
+
[1m[35m (0.5ms)[0m select 'dummy_foo' as dummy_bar, vesion() as db_version
|
575
|
+
PG::UndefinedFunction: ERROR: function vesion() does not exist
|
576
|
+
LINE 1: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
577
|
+
^
|
578
|
+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
579
|
+
: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
580
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
581
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/edit.html.slim within layouts/dbhero/application (0.2ms)
|
582
|
+
Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 1.7ms)
|
583
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
584
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
585
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
586
|
+
[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-23 20:58:15.226512"], ["updated_at", "2015-03-23 20:58:15.226512"], ["token", "7af2aae0-56ef-43a0-9e0b-e2948ebea69b"]]
|
587
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
588
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
589
|
+
Parameters: {"id"=>"7af2aae0-56ef-43a0-9e0b-e2948ebea69b"}
|
590
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
591
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
592
|
+
[1m[35m (0.1ms)[0m BEGIN
|
593
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
594
|
+
[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-23 20:58:15.233826"], ["updated_at", "2015-03-23 20:58:15.233826"], ["token", "f1fba432-70b9-4774-b8c6-291473f43705"]]
|
595
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
596
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
597
|
+
Parameters: {"id"=>"f1fba432-70b9-4774-b8c6-291473f43705"}
|
598
|
+
[1m[35mDbhero::Dataclip Load (0.4ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "f1fba432-70b9-4774-b8c6-291473f43705"]]
|
599
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
600
|
+
[1m[35m (0.3ms)[0m select 'dummy_foo' as dummy_bar, vesion() as db_version
|
601
|
+
PG::UndefinedFunction: ERROR: function vesion() does not exist
|
602
|
+
LINE 1: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
603
|
+
^
|
604
|
+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
605
|
+
: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
606
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
607
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/edit.html.slim within layouts/dbhero/application (0.2ms)
|
608
|
+
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 1.0ms)
|
609
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
610
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
611
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
612
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
613
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
614
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
615
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
616
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
617
|
+
[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-23 20:58:15.247979"], ["updated_at", "2015-03-23 20:58:15.247979"], ["token", "b1fa60e6-ef9b-4d0b-8a21-68443d420d48"]]
|
618
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
619
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
620
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"b1fa60e6-ef9b-4d0b-8a21-68443d420d48"}
|
621
|
+
[1m[36mDbhero::Dataclip Load (0.4ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "b1fa60e6-ef9b-4d0b-8a21-68443d420d48"]]
|
622
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
623
|
+
[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-23 20:58:15.252656"], ["id", 12]]
|
624
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
625
|
+
Redirected to http://test.host/dbhero/dataclips/b1fa60e6-ef9b-4d0b-8a21-68443d420d48/edit
|
626
|
+
Completed 302 Found in 11ms (ActiveRecord: 1.1ms)
|
627
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
628
|
+
[1m[35m (0.1ms)[0m BEGIN
|
629
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
630
|
+
[1m[35mSQL (1.2ms)[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-23 20:58:15.265052"], ["updated_at", "2015-03-23 20:58:15.265052"], ["token", "8a07d9a3-10fe-456c-9dfb-3daad2b803ed"]]
|
631
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
632
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
633
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"8a07d9a3-10fe-456c-9dfb-3daad2b803ed"}
|
634
|
+
[1m[35mDbhero::Dataclip Load (0.5ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "8a07d9a3-10fe-456c-9dfb-3daad2b803ed"]]
|
635
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
636
|
+
[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-23 20:58:15.271636"], ["id", 13]]
|
637
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
638
|
+
Redirected to http://test.host/dbhero/dataclips/8a07d9a3-10fe-456c-9dfb-3daad2b803ed/edit
|
639
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.1ms)
|
640
|
+
[1m[35mDbhero::Dataclip Load (0.3ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "updated"]]
|
641
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
642
|
+
[1m[35m (0.1ms)[0m BEGIN
|
643
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
644
|
+
[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-23 20:58:15.279179"], ["updated_at", "2015-03-23 20:58:15.279179"], ["token", "0a1016e7-c138-4b4b-98fd-1bd40c262d70"]]
|
645
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
646
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
647
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"0a1016e7-c138-4b4b-98fd-1bd40c262d70"}
|
648
|
+
[1m[35mDbhero::Dataclip Load (0.4ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "0a1016e7-c138-4b4b-98fd-1bd40c262d70"]]
|
649
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
650
|
+
[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-23 20:58:15.283826"], ["id", 14]]
|
651
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
652
|
+
Redirected to http://test.host/dbhero/dataclips/0a1016e7-c138-4b4b-98fd-1bd40c262d70/edit
|
653
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
|
654
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
655
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
656
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
657
|
+
[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-23 20:58:15.291131"], ["updated_at", "2015-03-23 20:58:15.291131"], ["token", "9f50b77e-3d01-4ae9-812e-a47107061fa0"]]
|
658
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
659
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
660
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"9f50b77e-3d01-4ae9-812e-a47107061fa0"}
|
661
|
+
[1m[36mDbhero::Dataclip Load (0.3ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "9f50b77e-3d01-4ae9-812e-a47107061fa0"]]
|
662
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
663
|
+
[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-23 20:58:15.295386"], ["id", 15]]
|
664
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
665
|
+
Redirected to http://test.host/dbhero/dataclips/9f50b77e-3d01-4ae9-812e-a47107061fa0/edit
|
666
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
|
667
|
+
[1m[36mDbhero::Dataclip Load (0.3ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1[0m [["description", "updated"]]
|
668
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
669
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
670
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
671
|
+
[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-23 20:58:15.303107"], ["updated_at", "2015-03-23 20:58:15.303107"], ["token", "dbdfb07d-c942-4277-994f-e594590bd1fe"]]
|
672
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
673
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
674
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"dbdfb07d-c942-4277-994f-e594590bd1fe"}
|
675
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
676
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
677
|
+
[1m[35m (0.1ms)[0m BEGIN
|
678
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
679
|
+
[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", "foo bar"], ["raw_query", "select 'foo' as bar"], ["created_at", "2015-03-23 20:58:15.311098"], ["updated_at", "2015-03-23 20:58:15.311098"], ["token", "4caabef9-b443-4805-b129-0d23283c398b"]]
|
680
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
681
|
+
[1m[35mDbhero::Dataclip Load (0.3ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."id" = $1 LIMIT 1 [["id", 17]]
|
682
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
683
|
+
[1m[35m (0.1ms)[0m BEGIN
|
684
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
685
|
+
[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", "foo bar"], ["raw_query", "select 'foo' as bar"], ["created_at", "2015-03-23 20:58:15.318594"], ["updated_at", "2015-03-23 20:58:15.318594"], ["token", "37f5e141-5aab-4a62-bebe-96587644989c"]]
|
686
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
687
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
688
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"37f5e141-5aab-4a62-bebe-96587644989c"}
|
689
|
+
[1m[35mDbhero::Dataclip Load (0.3ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "37f5e141-5aab-4a62-bebe-96587644989c"]]
|
690
|
+
[1m[36m (0.5ms)[0m [1mSAVEPOINT active_record_1[0m
|
691
|
+
[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-23 20:58:15.325095"], ["id", 18]]
|
692
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
693
|
+
Redirected to http://test.host/dbhero/dataclips/37f5e141-5aab-4a62-bebe-96587644989c/edit
|
694
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.3ms)
|
695
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
696
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
697
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
698
|
+
[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-23 20:58:15.330414"], ["updated_at", "2015-03-23 20:58:15.330414"], ["token", "c6696b6e-4f51-49d7-b4ca-f1137a50b38b"]]
|
699
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
700
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
701
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"c6696b6e-4f51-49d7-b4ca-f1137a50b38b"}
|
702
|
+
[1m[36mDbhero::Dataclip Load (0.2ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "c6696b6e-4f51-49d7-b4ca-f1137a50b38b"]]
|
703
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
704
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "dbhero_dataclips" SET "description" = $1, "updated_at" = $2 WHERE "dbhero_dataclips"."id" = $3[0m [["description", "updated"], ["updated_at", "2015-03-23 20:58:15.334296"], ["id", 19]]
|
705
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
706
|
+
Redirected to http://test.host/dbhero/dataclips/c6696b6e-4f51-49d7-b4ca-f1137a50b38b/edit
|
707
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
|
708
|
+
[1m[36mDbhero::Dataclip Load (0.4ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1[0m [["description", "updated"]]
|
709
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
710
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
711
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
712
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
713
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
714
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
715
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
716
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
717
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
718
|
+
[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-23 20:58:15.360934"], ["updated_at", "2015-03-23 20:58:15.360934"], ["token", "aa7db5de-7154-4c21-92d0-93a5a23a6bdd"]]
|
719
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
720
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
721
|
+
[1m[35m (0.1ms)[0m BEGIN
|
722
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
723
|
+
[1m[35mSQL (0.3ms)[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-21 20:58:15.363658"], ["created_at", "2015-03-23 20:58:15.364678"], ["token", "41dcc6db-2b0f-4441-8b19-ca391fea06c1"]]
|
724
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
725
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
726
|
+
[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-22 20:58:15.366354"], ["created_at", "2015-03-23 20:58:15.367091"], ["token", "26a505da-9978-426a-b9c4-4e267db17491"]]
|
727
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
728
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
729
|
+
[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-19 20:58:15.368463"], ["created_at", "2015-03-23 20:58:15.369187"], ["token", "8882fcb2-1cd9-41a4-b865-a11f1e06368d"]]
|
730
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
731
|
+
[1m[35mDbhero::Dataclip Load (1.3ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" ORDER BY "dbhero_dataclips"."updated_at" DESC
|
732
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
733
|
+
[1m[35m (0.1ms)[0m BEGIN
|
734
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
735
|
+
[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-23 20:58:15.376633"], ["updated_at", "2015-03-23 20:58:15.376633"], ["token", "a5ceec1b-8d3e-44eb-85a7-49391ba2a035"]]
|
736
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
737
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
738
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
739
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
740
|
+
[1m[36mSQL (0.2ms)[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-23 20:58:15.380005"], ["updated_at", "2015-03-23 20:58:15.380005"], ["token", "9b3068ea-a4af-42af-95b8-eaffbd1865a8"]]
|
741
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
742
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
743
|
+
[1m[35m (0.1ms)[0m BEGIN
|
744
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
745
|
+
[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-23 20:58:15.384368"], ["updated_at", "2015-03-23 20:58:15.384368"], ["token", "0107fbbd-b872-4078-ab41-38a612828ea4"]]
|
746
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
747
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
748
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
749
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
750
|
+
[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-23 20:58:15.387559"], ["updated_at", "2015-03-23 20:58:15.387559"], ["token", "4e52335d-ac66-458f-b2c1-862379192200"]]
|
751
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
752
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
753
|
+
[1m[35m (0.2ms)[0m select 'foo'::text as bar, 'bar'::text as foo
|
754
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
755
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
756
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
757
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
758
|
+
[1m[36mSQL (0.2ms)[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-23 20:58:15.391538"], ["updated_at", "2015-03-23 20:58:15.391538"], ["token", "33693cb5-7715-43a3-9288-a7c4bef06bbb"]]
|
759
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
760
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
761
|
+
[1m[35m (0.7ms)[0m select foo.nest from (select unnest(ARRAY[1,2,3]) as nest) foo
|
762
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
763
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
764
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
765
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
766
|
+
[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-23 20:58:15.396725"], ["updated_at", "2015-03-23 20:58:15.396725"], ["token", "a7d9f1fc-3e01-4c72-84f3-a6b97a91d5d1"]]
|
767
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
768
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
769
|
+
[1m[35m (0.2ms)[0m select 'foo'::text as bar, 'bar'::text as foo
|
770
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
771
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
772
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
773
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
774
|
+
[1m[36mSQL (0.2ms)[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-23 20:58:15.401995"], ["updated_at", "2015-03-23 20:58:15.401995"], ["token", "d498cd5f-088e-4290-bf02-dabba6213ecc"]]
|
775
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
776
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
777
|
+
[1m[35m (0.2ms)[0m select 'foo'::text as bar, 'bar'::text as foo
|
778
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
779
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
780
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
781
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
782
|
+
[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-23 20:58:15.407078"], ["updated_at", "2015-03-23 20:58:15.407078"], ["token", "519bf05c-8e22-4151-a220-a15ac96e62f5"]]
|
783
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
784
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
785
|
+
[1m[35mSQL (0.2ms)[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-23 20:58:15.409080"], ["updated_at", "2015-03-23 20:58:15.409080"], ["token", "1b243b17-503d-49d5-8210-26bf9b610e47"]]
|
786
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
787
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
788
|
+
[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-23 20:58:15.411038"], ["updated_at", "2015-03-23 20:58:15.411038"], ["token", "6998342f-7972-4398-9e0e-28f21ebd22b6"]]
|
789
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
790
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
791
|
+
[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-23 20:58:15.413222"], ["updated_at", "2015-03-23 20:58:15.413222"], ["token", "b4f6bcc0-8fd8-491f-82d9-76fc836195e3"]]
|
792
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
793
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
794
|
+
[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 'dummy_foo' as dummy_bar, vesion() as db_version"], ["created_at", "2015-03-23 20:58:15.415971"], ["updated_at", "2015-03-23 20:58:15.415971"], ["token", "cd4beb97-34bd-4767-8805-832100cdbaba"]]
|
795
|
+
[1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
|
796
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
797
|
+
[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-23 20:58:15.419619"], ["updated_at", "2015-03-23 20:58:15.419619"], ["token", "96ff1453-9ec9-4d22-a229-a6541a11157b"]]
|
798
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
799
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
800
|
+
[1m[36m (3.6ms)[0m [1mTRUNCATE table dbhero_dataclips[0m
|
801
|
+
[1m[35m (1.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
802
|
+
[1m[36m (1.3ms)[0m [1mSELECT COUNT(*) FROM "dbhero_dataclips"[0m
|
803
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
804
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
805
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
806
|
+
[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-23 20:58:15.432127"], ["updated_at", "2015-03-23 20:58:15.432127"], ["token", "44b0fedc-9641-4870-884d-c14cf35a233f"]]
|
807
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
808
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
809
|
+
[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-23 20:58:15.435055"], ["updated_at", "2015-03-23 20:58:15.435055"], ["token", "4b4f1857-6e9d-47c1-b073-a2cf94b6cfd4"]]
|
810
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
811
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
812
|
+
[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-23 20:58:15.437731"], ["updated_at", "2015-03-23 20:58:15.437731"], ["token", "68942587-935e-4c86-9ea3-f8b43cde74d8"]]
|
813
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
814
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
815
|
+
[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-23 20:58:15.440782"], ["updated_at", "2015-03-23 20:58:15.440782"], ["token", "0adc96dc-ae70-4454-a4d0-0084d854629d"]]
|
816
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
817
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
818
|
+
[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-23 20:58:15.443329"], ["updated_at", "2015-03-23 20:58:15.443329"], ["token", "c94a6d6a-5ad1-4686-a535-ee2c0d4fe5de"]]
|
819
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
820
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
821
|
+
[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-23 20:58:15.445450"], ["updated_at", "2015-03-23 20:58:15.445450"], ["token", "14c84d00-abf6-4a76-a3ac-34d92fcf1fb3"]]
|
822
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
823
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
824
|
+
[1m[36m (0.3ms)[0m [1mTRUNCATE table dbhero_dataclips; commit;[0m
|
825
|
+
PG::SyntaxError: ERROR: cannot insert multiple commands into a prepared statement
|
826
|
+
: TRUNCATE table dbhero_dataclips; commit;
|
827
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
828
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM "dbhero_dataclips"[0m
|
829
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
830
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
831
|
+
[1m[36m (130.8ms)[0m [1mDROP DATABASE IF EXISTS "dummy_test"[0m
|
832
|
+
[1m[35m (369.3ms)[0m CREATE DATABASE "dummy_test" ENCODING = 'unicode'
|
833
|
+
[1m[36mSQL (0.6ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
834
|
+
[1m[35m (10.1ms)[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)
|
835
|
+
[1m[36m (1.8ms)[0m [1mCREATE UNIQUE INDEX "index_dbhero_dataclips_on_token" ON "dbhero_dataclips" USING btree ("token")[0m
|
836
|
+
[1m[35m (1.5ms)[0m CREATE INDEX "index_dbhero_dataclips_on_user" ON "dbhero_dataclips" USING btree ("user")
|
837
|
+
[1m[36m (3.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
838
|
+
[1m[35m (2.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
839
|
+
[1m[36m (0.9ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
840
|
+
[1m[35m (2.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150323172444')
|
841
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.9ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
842
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
843
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
844
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
845
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
846
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
847
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
848
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/index.html.slim within layouts/dbhero/application (0.4ms)
|
849
|
+
Completed 200 OK in 21ms (Views: 19.2ms | ActiveRecord: 0.0ms)
|
850
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
851
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
852
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
853
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/index.html.slim within layouts/dbhero/application (0.2ms)
|
854
|
+
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
855
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
856
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
857
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
858
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
859
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
860
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
861
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
862
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/index.html.slim within layouts/dbhero/application (0.3ms)
|
863
|
+
Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
864
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
865
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
866
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
867
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
868
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
869
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
870
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
871
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/new.html.slim within layouts/dbhero/application (0.3ms)
|
872
|
+
Completed 200 OK in 24ms (Views: 4.5ms | ActiveRecord: 8.8ms)
|
873
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
874
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
875
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
876
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/new.html.slim within layouts/dbhero/application (0.2ms)
|
877
|
+
Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
|
878
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
879
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
880
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
881
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
882
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
883
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
884
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
885
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/new.html.slim within layouts/dbhero/application (0.4ms)
|
886
|
+
Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
|
887
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
888
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
889
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
890
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
891
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
892
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
893
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
894
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
895
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
896
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
897
|
+
[1m[36mSQL (1.3ms)[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-23 20:58:56.306253"], ["updated_at", "2015-03-23 20:58:56.306253"], ["token", "7ac575f7-54db-45a9-bd10-5b69188dbdbb"]]
|
898
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
899
|
+
Redirected to http://test.host/dbhero/dataclips/7ac575f7-54db-45a9-bd10-5b69188dbdbb/edit
|
900
|
+
Completed 302 Found in 24ms (ActiveRecord: 1.9ms)
|
901
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
902
|
+
[1m[35m (0.1ms)[0m BEGIN
|
903
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
904
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
905
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
906
|
+
[1m[35mSQL (0.6ms)[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-23 20:58:56.333525"], ["updated_at", "2015-03-23 20:58:56.333525"], ["token", "25259753-4043-4df6-8b83-bf85de71db4a"]]
|
907
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
908
|
+
Redirected to http://test.host/dbhero/dataclips/25259753-4043-4df6-8b83-bf85de71db4a/edit
|
909
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
|
910
|
+
[1m[35mDbhero::Dataclip Load (0.6ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "foo bar"]]
|
911
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
912
|
+
[1m[35m (0.1ms)[0m BEGIN
|
913
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
914
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
915
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
916
|
+
[1m[35mSQL (0.4ms)[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-23 20:58:56.355292"], ["updated_at", "2015-03-23 20:58:56.355292"], ["token", "a3c588f2-bf72-43ca-9f82-a1cff32035bc"]]
|
917
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
918
|
+
Redirected to http://test.host/dbhero/dataclips/a3c588f2-bf72-43ca-9f82-a1cff32035bc/edit
|
919
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.7ms)
|
920
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
921
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
922
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
923
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
924
|
+
[1m[35m (0.5ms)[0m SAVEPOINT active_record_1
|
925
|
+
[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-23 20:58:56.366334"], ["updated_at", "2015-03-23 20:58:56.366334"], ["token", "7796c215-644b-4a05-b5a2-264a1969262e"]]
|
926
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
927
|
+
Redirected to http://test.host/dbhero/dataclips/7796c215-644b-4a05-b5a2-264a1969262e/edit
|
928
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
|
929
|
+
[1m[36mDbhero::Dataclip Load (0.4ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1[0m [["description", "foo bar"]]
|
930
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
931
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
932
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
933
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
934
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
935
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
936
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
937
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
938
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar disabled", "raw_query"=>"select 'foo' as bar"}}
|
939
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
940
|
+
[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 disabled"], ["raw_query", "select 'foo' as bar"], ["created_at", "2015-03-23 20:58:56.384817"], ["updated_at", "2015-03-23 20:58:56.384817"], ["token", "6072e1bb-4041-4d5c-b31c-5cb7065333c5"]]
|
941
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
942
|
+
Redirected to http://test.host/dbhero/dataclips/6072e1bb-4041-4d5c-b31c-5cb7065333c5/edit
|
943
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.7ms)
|
944
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
945
|
+
[1m[35m (0.1ms)[0m BEGIN
|
946
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
947
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar disabled", "raw_query"=>"select 'foo' as bar"}}
|
948
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
949
|
+
[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", "foo bar disabled"], ["raw_query", "select 'foo' as bar"], ["created_at", "2015-03-23 20:58:56.395384"], ["updated_at", "2015-03-23 20:58:56.395384"], ["token", "e48bd674-61a9-49b6-b1f1-d99c31694ff7"]]
|
950
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
951
|
+
Redirected to http://test.host/dbhero/dataclips/e48bd674-61a9-49b6-b1f1-d99c31694ff7/edit
|
952
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
|
953
|
+
[1m[35mDbhero::Dataclip Load (0.4ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "foo bar disabled"]]
|
954
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
955
|
+
[1m[35m (0.1ms)[0m BEGIN
|
956
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
957
|
+
[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-23 20:58:56.405029"], ["updated_at", "2015-03-23 20:58:56.405029"], ["token", "b8124f7c-51d8-4050-ae38-fb21b6a79899"]]
|
958
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
959
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
960
|
+
Parameters: {"id"=>"b8124f7c-51d8-4050-ae38-fb21b6a79899"}
|
961
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
962
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
963
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
964
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
965
|
+
[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-23 20:58:56.416282"], ["updated_at", "2015-03-23 20:58:56.416282"], ["token", "e1c7ef77-031a-4305-aab2-582fa73debcb"]]
|
966
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
967
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
968
|
+
Parameters: {"id"=>"e1c7ef77-031a-4305-aab2-582fa73debcb"}
|
969
|
+
[1m[36mDbhero::Dataclip Load (0.6ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "e1c7ef77-031a-4305-aab2-582fa73debcb"]]
|
970
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
971
|
+
[1m[36m (0.8ms)[0m [1mselect 'dummy_foo' as dummy_bar, vesion() as db_version[0m
|
972
|
+
PG::UndefinedFunction: ERROR: function vesion() does not exist
|
973
|
+
LINE 1: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
974
|
+
^
|
975
|
+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
976
|
+
: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
977
|
+
[1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
978
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/edit.html.slim within layouts/dbhero/application (0.3ms)
|
979
|
+
Completed 200 OK in 11ms (Views: 4.9ms | ActiveRecord: 1.7ms)
|
980
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
981
|
+
[1m[35m (0.1ms)[0m BEGIN
|
982
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
983
|
+
[1m[35mSQL (0.5ms)[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-23 20:58:56.437410"], ["updated_at", "2015-03-23 20:58:56.437410"], ["token", "ec03506f-b77e-4495-bb3e-a83306a6cc46"]]
|
984
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
985
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
986
|
+
Parameters: {"id"=>"ec03506f-b77e-4495-bb3e-a83306a6cc46"}
|
987
|
+
[1m[35mDbhero::Dataclip Load (0.5ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "ec03506f-b77e-4495-bb3e-a83306a6cc46"]]
|
988
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
989
|
+
[1m[35m (1.4ms)[0m select 'dummy_foo' as dummy_bar, vesion() as db_version
|
990
|
+
PG::UndefinedFunction: ERROR: function vesion() does not exist
|
991
|
+
LINE 1: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
992
|
+
^
|
993
|
+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
994
|
+
: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
995
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
996
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/edit.html.slim within layouts/dbhero/application (0.4ms)
|
997
|
+
Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 2.3ms)
|
998
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
999
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1000
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1001
|
+
[1m[36mSQL (0.7ms)[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-23 20:58:56.455001"], ["updated_at", "2015-03-23 20:58:56.455001"], ["token", "47fb4c35-3b12-4931-b10d-6135c094c666"]]
|
1002
|
+
[1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
|
1003
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
1004
|
+
Parameters: {"id"=>"47fb4c35-3b12-4931-b10d-6135c094c666"}
|
1005
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
1006
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
1007
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1008
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1009
|
+
[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-23 20:58:56.467560"], ["updated_at", "2015-03-23 20:58:56.467560"], ["token", "5dc49f39-be91-4c93-89d5-96fbb587ca77"]]
|
1010
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1011
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
1012
|
+
Parameters: {"id"=>"5dc49f39-be91-4c93-89d5-96fbb587ca77"}
|
1013
|
+
[1m[35mDbhero::Dataclip Load (0.4ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "5dc49f39-be91-4c93-89d5-96fbb587ca77"]]
|
1014
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1015
|
+
[1m[35m (0.7ms)[0m select 'dummy_foo' as dummy_bar, vesion() as db_version
|
1016
|
+
PG::UndefinedFunction: ERROR: function vesion() does not exist
|
1017
|
+
LINE 1: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
1018
|
+
^
|
1019
|
+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
1020
|
+
: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
1021
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1022
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/edit.html.slim within layouts/dbhero/application (0.3ms)
|
1023
|
+
Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 1.5ms)
|
1024
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
1025
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1026
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
1027
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
1028
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
1029
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1030
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1031
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1032
|
+
[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-23 20:58:56.485833"], ["updated_at", "2015-03-23 20:58:56.485833"], ["token", "c2943d11-10a1-464d-a273-05048403b7bd"]]
|
1033
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1034
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
1035
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"c2943d11-10a1-464d-a273-05048403b7bd"}
|
1036
|
+
[1m[36mDbhero::Dataclip Load (0.7ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "c2943d11-10a1-464d-a273-05048403b7bd"]]
|
1037
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
1038
|
+
[1m[36mSQL (0.6ms)[0m [1mUPDATE "dbhero_dataclips" SET "description" = $1, "updated_at" = $2 WHERE "dbhero_dataclips"."id" = $3[0m [["description", "updated"], ["updated_at", "2015-03-23 20:58:56.491605"], ["id", 12]]
|
1039
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1040
|
+
Redirected to http://test.host/dbhero/dataclips/c2943d11-10a1-464d-a273-05048403b7bd/edit
|
1041
|
+
Completed 302 Found in 14ms (ActiveRecord: 1.8ms)
|
1042
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1043
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1044
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1045
|
+
[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-23 20:58:56.507395"], ["updated_at", "2015-03-23 20:58:56.507395"], ["token", "fb7f263c-1495-436b-9f5f-418977f8ec0d"]]
|
1046
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1047
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
1048
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"fb7f263c-1495-436b-9f5f-418977f8ec0d"}
|
1049
|
+
[1m[35mDbhero::Dataclip Load (0.4ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "fb7f263c-1495-436b-9f5f-418977f8ec0d"]]
|
1050
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1051
|
+
[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-23 20:58:56.512973"], ["id", 13]]
|
1052
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1053
|
+
Redirected to http://test.host/dbhero/dataclips/fb7f263c-1495-436b-9f5f-418977f8ec0d/edit
|
1054
|
+
Completed 302 Found in 6ms (ActiveRecord: 1.1ms)
|
1055
|
+
[1m[35mDbhero::Dataclip Load (0.4ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "updated"]]
|
1056
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1057
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1058
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1059
|
+
[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-23 20:58:56.521324"], ["updated_at", "2015-03-23 20:58:56.521324"], ["token", "3152c0c4-c0cf-40a7-a583-257faa2ca075"]]
|
1060
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1061
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
1062
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"3152c0c4-c0cf-40a7-a583-257faa2ca075"}
|
1063
|
+
[1m[35mDbhero::Dataclip Load (0.4ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "3152c0c4-c0cf-40a7-a583-257faa2ca075"]]
|
1064
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1065
|
+
[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-23 20:58:56.526873"], ["id", 14]]
|
1066
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1067
|
+
Redirected to http://test.host/dbhero/dataclips/3152c0c4-c0cf-40a7-a583-257faa2ca075/edit
|
1068
|
+
Completed 302 Found in 6ms (ActiveRecord: 1.1ms)
|
1069
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1070
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1071
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1072
|
+
[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", "foo bar"], ["raw_query", "select 'foo' as bar"], ["created_at", "2015-03-23 20:58:56.534056"], ["updated_at", "2015-03-23 20:58:56.534056"], ["token", "c92ce684-99f1-4c5e-9217-7f9078774b84"]]
|
1073
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1074
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
1075
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"c92ce684-99f1-4c5e-9217-7f9078774b84"}
|
1076
|
+
[1m[36mDbhero::Dataclip Load (0.3ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "c92ce684-99f1-4c5e-9217-7f9078774b84"]]
|
1077
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1078
|
+
[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-23 20:58:56.540129"], ["id", 15]]
|
1079
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1080
|
+
Redirected to http://test.host/dbhero/dataclips/c92ce684-99f1-4c5e-9217-7f9078774b84/edit
|
1081
|
+
Completed 302 Found in 6ms (ActiveRecord: 1.1ms)
|
1082
|
+
[1m[36mDbhero::Dataclip Load (0.4ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1[0m [["description", "updated"]]
|
1083
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1084
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1085
|
+
[1m[35m (0.5ms)[0m SAVEPOINT active_record_1
|
1086
|
+
[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-23 20:58:56.550715"], ["updated_at", "2015-03-23 20:58:56.550715"], ["token", "6d5429a6-3e56-4f8a-a3d5-fc0611a55ee0"]]
|
1087
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1088
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
1089
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"6d5429a6-3e56-4f8a-a3d5-fc0611a55ee0"}
|
1090
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
1091
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1092
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1093
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1094
|
+
[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", "foo bar"], ["raw_query", "select 'foo' as bar"], ["created_at", "2015-03-23 20:58:56.561208"], ["updated_at", "2015-03-23 20:58:56.561208"], ["token", "4e4c3e2a-d7b2-424c-9e1b-5bc6ba6adc89"]]
|
1095
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1096
|
+
[1m[35mDbhero::Dataclip Load (0.3ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."id" = $1 LIMIT 1 [["id", 17]]
|
1097
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1098
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1099
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1100
|
+
[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-23 20:58:56.569000"], ["updated_at", "2015-03-23 20:58:56.569000"], ["token", "4ef0e7bc-114c-407a-88a9-9e5380b4ccd0"]]
|
1101
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1102
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
1103
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"4ef0e7bc-114c-407a-88a9-9e5380b4ccd0"}
|
1104
|
+
[1m[35mDbhero::Dataclip Load (0.2ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "4ef0e7bc-114c-407a-88a9-9e5380b4ccd0"]]
|
1105
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1106
|
+
[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-23 20:58:56.574571"], ["id", 18]]
|
1107
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1108
|
+
Redirected to http://test.host/dbhero/dataclips/4ef0e7bc-114c-407a-88a9-9e5380b4ccd0/edit
|
1109
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
|
1110
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1111
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1112
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1113
|
+
[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-23 20:58:56.580776"], ["updated_at", "2015-03-23 20:58:56.580776"], ["token", "27305402-42bc-4f27-a47c-576245d4deb3"]]
|
1114
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1115
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
1116
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"27305402-42bc-4f27-a47c-576245d4deb3"}
|
1117
|
+
[1m[36mDbhero::Dataclip Load (0.2ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "27305402-42bc-4f27-a47c-576245d4deb3"]]
|
1118
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1119
|
+
[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-23 20:58:56.586423"], ["id", 19]]
|
1120
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1121
|
+
Redirected to http://test.host/dbhero/dataclips/27305402-42bc-4f27-a47c-576245d4deb3/edit
|
1122
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
|
1123
|
+
[1m[36mDbhero::Dataclip Load (0.3ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1[0m [["description", "updated"]]
|
1124
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1125
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1126
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
1127
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1128
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1129
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1130
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1131
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1132
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1133
|
+
[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-23 20:58:56.614813"], ["updated_at", "2015-03-23 20:58:56.614813"], ["token", "5e4c93d8-74f4-42a3-8bec-a3bdc0745533"]]
|
1134
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1135
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1136
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1137
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1138
|
+
[1m[35mSQL (0.8ms)[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-21 20:58:56.617730"], ["created_at", "2015-03-23 20:58:56.618786"], ["token", "6c6354d9-020a-4eaf-8a97-31c51eed164a"]]
|
1139
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1140
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1141
|
+
[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-22 20:58:56.621631"], ["created_at", "2015-03-23 20:58:56.622556"], ["token", "e91c3cce-9125-4f7c-8f7f-0bca99a3b470"]]
|
1142
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1143
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1144
|
+
[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-19 20:58:56.624071"], ["created_at", "2015-03-23 20:58:56.624870"], ["token", "a02c8896-0453-460f-89ee-859370e46250"]]
|
1145
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1146
|
+
[1m[35mDbhero::Dataclip Load (0.9ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" ORDER BY "dbhero_dataclips"."updated_at" DESC
|
1147
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1148
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1149
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1150
|
+
[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-23 20:58:56.631256"], ["updated_at", "2015-03-23 20:58:56.631256"], ["token", "b4916123-54b0-4bc9-8e87-eed9b3065ce5"]]
|
1151
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1152
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1153
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1154
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1155
|
+
[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", "title\ndescription\nfoo"], ["raw_query", "select 'dummy_foo' as dummy_bar, vesion() as db_version"], ["created_at", "2015-03-23 20:58:56.636023"], ["updated_at", "2015-03-23 20:58:56.636023"], ["token", "965d15d4-ea96-4ebe-ab8b-74a118d1a117"]]
|
1156
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1157
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1158
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1159
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1160
|
+
[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", "title\ndescription\nfoo"], ["raw_query", "select 'dummy_foo' as dummy_bar, vesion() as db_version"], ["created_at", "2015-03-23 20:58:56.639622"], ["updated_at", "2015-03-23 20:58:56.639622"], ["token", "7c24b934-065d-474a-a1b1-9a7603ed093f"]]
|
1161
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1162
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1163
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
1164
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1165
|
+
[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-23 20:58:56.645197"], ["updated_at", "2015-03-23 20:58:56.645197"], ["token", "0be3c48a-aa6e-4212-9eee-ee6fb1cbc848"]]
|
1166
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1167
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1168
|
+
[1m[35m (0.2ms)[0m select 'foo'::text as bar, 'bar'::text as foo
|
1169
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1170
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1171
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1172
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1173
|
+
[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.nest from (select unnest(ARRAY[1,2,3]) as nest) foo"], ["created_at", "2015-03-23 20:58:56.649882"], ["updated_at", "2015-03-23 20:58:56.649882"], ["token", "c8c0e8f8-2cb5-4b89-bba2-e8e3aeaf0f19"]]
|
1174
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1175
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1176
|
+
[1m[35m (0.3ms)[0m select foo.nest from (select unnest(ARRAY[1,2,3]) as nest) foo
|
1177
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1178
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1179
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1180
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1181
|
+
[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-23 20:58:56.654455"], ["updated_at", "2015-03-23 20:58:56.654455"], ["token", "b5f76be8-6db3-48dc-afde-ae912f59db57"]]
|
1182
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1183
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1184
|
+
[1m[35m (0.2ms)[0m select 'foo'::text as bar, 'bar'::text as foo
|
1185
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1186
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1187
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1188
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1189
|
+
[1m[36mSQL (0.2ms)[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-23 20:58:56.661236"], ["updated_at", "2015-03-23 20:58:56.661236"], ["token", "c96610a2-6080-4407-b17f-62c69056fe75"]]
|
1190
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1191
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1192
|
+
[1m[35m (0.2ms)[0m select 'foo'::text as bar, 'bar'::text as foo
|
1193
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1194
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1195
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1196
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1197
|
+
[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-23 20:58:56.666164"], ["updated_at", "2015-03-23 20:58:56.666164"], ["token", "e19d1114-145d-429c-bc76-fd72e8bb0db7"]]
|
1198
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1199
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1200
|
+
[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-23 20:58:56.669440"], ["updated_at", "2015-03-23 20:58:56.669440"], ["token", "198d990a-490f-42ad-a17a-6942686703f7"]]
|
1201
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1202
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1203
|
+
[1m[36mSQL (0.2ms)[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-23 20:58:56.671563"], ["updated_at", "2015-03-23 20:58:56.671563"], ["token", "1f471b38-8410-48e8-9b98-89b24a89c75b"]]
|
1204
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1205
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1206
|
+
[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-23 20:58:56.673812"], ["updated_at", "2015-03-23 20:58:56.673812"], ["token", "59ed151f-189d-4a76-aa40-8119b306c5be"]]
|
1207
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1208
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1209
|
+
[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-23 20:58:56.676424"], ["updated_at", "2015-03-23 20:58:56.676424"], ["token", "0277ecec-7f2f-4fe2-8bcf-5b71f8fc83d9"]]
|
1210
|
+
[1m[35m (0.6ms)[0m RELEASE SAVEPOINT active_record_1
|
1211
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1212
|
+
[1m[35mSQL (0.2ms)[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-23 20:58:56.680075"], ["updated_at", "2015-03-23 20:58:56.680075"], ["token", "1c1a23ab-6187-46c8-9626-fa2ead78b9d4"]]
|
1213
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1214
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1215
|
+
[1m[36m (3.8ms)[0m [1mTRUNCATE table dbhero_dataclips[0m
|
1216
|
+
[1m[35m (1.3ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1217
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM "dbhero_dataclips"[0m
|
1218
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1219
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1220
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1221
|
+
[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-23 20:58:56.692308"], ["updated_at", "2015-03-23 20:58:56.692308"], ["token", "5c256a97-3f8b-4e23-a1ca-e0aa60601d05"]]
|
1222
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1223
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1224
|
+
[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-23 20:58:56.695619"], ["updated_at", "2015-03-23 20:58:56.695619"], ["token", "bd81638f-f855-48ee-999e-e40f1303cb2f"]]
|
1225
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1226
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1227
|
+
[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-23 20:58:56.698255"], ["updated_at", "2015-03-23 20:58:56.698255"], ["token", "dac02f88-17e9-4dde-b950-53e2b3fbaffa"]]
|
1228
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1229
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1230
|
+
[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-23 20:58:56.700950"], ["updated_at", "2015-03-23 20:58:56.700950"], ["token", "57baaa43-ce75-4d4a-a6c1-2bcd8dd2ea47"]]
|
1231
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1232
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1233
|
+
[1m[36mSQL (0.2ms)[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-23 20:58:56.704238"], ["updated_at", "2015-03-23 20:58:56.704238"], ["token", "e1bfce6d-b860-42a2-bfff-5f59ee1291d9"]]
|
1234
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1235
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1236
|
+
[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-23 20:58:56.706533"], ["updated_at", "2015-03-23 20:58:56.706533"], ["token", "a7ad62c1-2a3e-4e06-bc15-cc282b46b75e"]]
|
1237
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1238
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1239
|
+
[1m[36m (0.3ms)[0m [1mTRUNCATE table dbhero_dataclips; commit;[0m
|
1240
|
+
PG::SyntaxError: ERROR: cannot insert multiple commands into a prepared statement
|
1241
|
+
: TRUNCATE table dbhero_dataclips; commit;
|
1242
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1243
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "dbhero_dataclips"[0m
|
1244
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1245
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1246
|
+
[1m[36m (130.4ms)[0m [1mDROP DATABASE IF EXISTS "dummy_test"[0m
|
1247
|
+
[1m[35m (365.0ms)[0m CREATE DATABASE "dummy_test" ENCODING = 'unicode'
|
1248
|
+
[1m[36mSQL (0.4ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1249
|
+
[1m[35m (10.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)
|
1250
|
+
[1m[36m (1.8ms)[0m [1mCREATE UNIQUE INDEX "index_dbhero_dataclips_on_token" ON "dbhero_dataclips" USING btree ("token")[0m
|
1251
|
+
[1m[35m (1.5ms)[0m CREATE INDEX "index_dbhero_dataclips_on_user" ON "dbhero_dataclips" USING btree ("user")
|
1252
|
+
[1m[36m (6.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
1253
|
+
[1m[35m (1.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1254
|
+
[1m[36m (0.5ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1255
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150323172444')
|
1256
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.5ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1257
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1258
|
+
[1m[36m (127.2ms)[0m [1mDROP DATABASE IF EXISTS "dummy_test"[0m
|
1259
|
+
[1m[35m (349.3ms)[0m CREATE DATABASE "dummy_test" ENCODING = 'unicode'
|
1260
|
+
[1m[36mSQL (0.5ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1261
|
+
[1m[35m (10.9ms)[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)
|
1262
|
+
[1m[36m (1.7ms)[0m [1mCREATE UNIQUE INDEX "index_dbhero_dataclips_on_token" ON "dbhero_dataclips" USING btree ("token")[0m
|
1263
|
+
[1m[35m (1.4ms)[0m CREATE INDEX "index_dbhero_dataclips_on_user" ON "dbhero_dataclips" USING btree ("user")
|
1264
|
+
[1m[36m (8.5ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
1265
|
+
[1m[35m (2.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1266
|
+
[1m[36m (0.5ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1267
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150323172444')
|
1268
|
+
[1m[35mActiveRecord::SchemaMigration Load (1.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1269
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1270
|
+
[1m[36m (119.8ms)[0m [1mDROP DATABASE IF EXISTS "dummy_test"[0m
|
1271
|
+
[1m[35m (343.4ms)[0m CREATE DATABASE "dummy_test" ENCODING = 'unicode'
|
1272
|
+
[1m[36mSQL (0.5ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1273
|
+
[1m[35m (9.2ms)[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)
|
1274
|
+
[1m[36m (2.4ms)[0m [1mCREATE UNIQUE INDEX "index_dbhero_dataclips_on_token" ON "dbhero_dataclips" USING btree ("token")[0m
|
1275
|
+
[1m[35m (1.3ms)[0m CREATE INDEX "index_dbhero_dataclips_on_user" ON "dbhero_dataclips" USING btree ("user")
|
1276
|
+
[1m[36m (4.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
1277
|
+
[1m[35m (3.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1278
|
+
[1m[36m (1.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1279
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150323172444')
|
1280
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.6ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1281
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1282
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
1283
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
1284
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1285
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1286
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
1287
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/index.html.slim within layouts/dbhero/application (0.4ms)
|
1288
|
+
Completed 200 OK in 19ms (Views: 18.1ms | ActiveRecord: 0.0ms)
|
1289
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
1290
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1291
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
1292
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/index.html.slim within layouts/dbhero/application (0.3ms)
|
1293
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
1294
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1295
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1296
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
1297
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
1298
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1299
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1300
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
1301
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/index.html.slim within layouts/dbhero/application (0.3ms)
|
1302
|
+
Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
1303
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1304
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1305
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
1306
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
1307
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1308
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1309
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
1310
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/new.html.slim within layouts/dbhero/application (0.3ms)
|
1311
|
+
Completed 200 OK in 19ms (Views: 4.1ms | ActiveRecord: 7.9ms)
|
1312
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1313
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1314
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
1315
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/new.html.slim within layouts/dbhero/application (0.3ms)
|
1316
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
1317
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1318
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1319
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
1320
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
1321
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1322
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1323
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
1324
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/new.html.slim within layouts/dbhero/application (0.2ms)
|
1325
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
1326
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1327
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1328
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
1329
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
1330
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
1331
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1332
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1333
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
1334
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
1335
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1336
|
+
[1m[36mSQL (1.3ms)[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-23 22:28:43.693804"], ["updated_at", "2015-03-23 22:28:43.693804"], ["token", "43bbe381-0d82-49a6-b6d3-aa5176949f1e"]]
|
1337
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1338
|
+
Redirected to http://test.host/dbhero/dataclips/43bbe381-0d82-49a6-b6d3-aa5176949f1e/edit
|
1339
|
+
Completed 302 Found in 20ms (ActiveRecord: 1.8ms)
|
1340
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1341
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1342
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
1343
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
1344
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1345
|
+
[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-23 22:28:43.714326"], ["updated_at", "2015-03-23 22:28:43.714326"], ["token", "36788f5d-3db5-43d4-8914-b3bcb41ddb78"]]
|
1346
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1347
|
+
Redirected to http://test.host/dbhero/dataclips/36788f5d-3db5-43d4-8914-b3bcb41ddb78/edit
|
1348
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
|
1349
|
+
[1m[35mDbhero::Dataclip Load (0.5ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "foo bar"]]
|
1350
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1351
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1352
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
1353
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
1354
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1355
|
+
[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-23 22:28:43.732704"], ["updated_at", "2015-03-23 22:28:43.732704"], ["token", "7e96eb69-2681-462e-9328-42c9abf6e184"]]
|
1356
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1357
|
+
Redirected to http://test.host/dbhero/dataclips/7e96eb69-2681-462e-9328-42c9abf6e184/edit
|
1358
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
1359
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1360
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1361
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
1362
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
1363
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1364
|
+
[1m[36mSQL (0.3ms)[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-23 22:28:43.740151"], ["updated_at", "2015-03-23 22:28:43.740151"], ["token", "ebb09359-bd7a-4476-a51c-5258a5a7e30e"]]
|
1365
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1366
|
+
Redirected to http://test.host/dbhero/dataclips/ebb09359-bd7a-4476-a51c-5258a5a7e30e/edit
|
1367
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
1368
|
+
[1m[36mDbhero::Dataclip Load (0.3ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1[0m [["description", "foo bar"]]
|
1369
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1370
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1371
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
1372
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
1373
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
1374
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1375
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1376
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
1377
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar disabled", "raw_query"=>"select 'foo' as bar"}}
|
1378
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1379
|
+
[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", "foo bar disabled"], ["raw_query", "select 'foo' as bar"], ["created_at", "2015-03-23 22:28:43.755444"], ["updated_at", "2015-03-23 22:28:43.755444"], ["token", "fe477008-1755-4a1d-ad32-4551f3949cb3"]]
|
1380
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1381
|
+
Redirected to http://test.host/dbhero/dataclips/fe477008-1755-4a1d-ad32-4551f3949cb3/edit
|
1382
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
|
1383
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1384
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1385
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
1386
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar disabled", "raw_query"=>"select 'foo' as bar"}}
|
1387
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1388
|
+
[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-23 22:28:43.763872"], ["updated_at", "2015-03-23 22:28:43.763872"], ["token", "cb69a856-8463-4f41-88d2-a1a3f8c668b6"]]
|
1389
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1390
|
+
Redirected to http://test.host/dbhero/dataclips/cb69a856-8463-4f41-88d2-a1a3f8c668b6/edit
|
1391
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
1392
|
+
[1m[35mDbhero::Dataclip Load (0.4ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "foo bar disabled"]]
|
1393
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1394
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1395
|
+
[1m[36m (0.5ms)[0m [1mSAVEPOINT active_record_1[0m
|
1396
|
+
[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-23 22:28:43.771530"], ["updated_at", "2015-03-23 22:28:43.771530"], ["token", "d2f56a3f-ca8c-42ed-8cd4-4b8fe0c07232"]]
|
1397
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1398
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
1399
|
+
Parameters: {"id"=>"d2f56a3f-ca8c-42ed-8cd4-4b8fe0c07232"}
|
1400
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
1401
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1402
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1403
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1404
|
+
[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-23 22:28:43.777278"], ["updated_at", "2015-03-23 22:28:43.777278"], ["token", "4e66951c-8441-4092-953a-6fdaef803db4"]]
|
1405
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1406
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
1407
|
+
Parameters: {"id"=>"4e66951c-8441-4092-953a-6fdaef803db4"}
|
1408
|
+
[1m[36mDbhero::Dataclip Load (0.3ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "4e66951c-8441-4092-953a-6fdaef803db4"]]
|
1409
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1410
|
+
[1m[36m (1.1ms)[0m [1mselect 'dummy_foo' as dummy_bar, vesion() as db_version[0m
|
1411
|
+
PG::UndefinedFunction: ERROR: function vesion() does not exist
|
1412
|
+
LINE 1: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
1413
|
+
^
|
1414
|
+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
1415
|
+
: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
1416
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1417
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/edit.html.slim within layouts/dbhero/application (0.5ms)
|
1418
|
+
Completed 200 OK in 8ms (Views: 4.0ms | ActiveRecord: 1.6ms)
|
1419
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1420
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1421
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1422
|
+
[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-23 22:28:43.791615"], ["updated_at", "2015-03-23 22:28:43.791615"], ["token", "c820d00c-d482-499c-98ce-f0f4a88097d4"]]
|
1423
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1424
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
1425
|
+
Parameters: {"id"=>"c820d00c-d482-499c-98ce-f0f4a88097d4"}
|
1426
|
+
[1m[35mDbhero::Dataclip Load (0.4ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "c820d00c-d482-499c-98ce-f0f4a88097d4"]]
|
1427
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1428
|
+
[1m[35m (0.4ms)[0m select 'dummy_foo' as dummy_bar, vesion() as db_version
|
1429
|
+
PG::UndefinedFunction: ERROR: function vesion() does not exist
|
1430
|
+
LINE 1: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
1431
|
+
^
|
1432
|
+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
1433
|
+
: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
1434
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1435
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/edit.html.slim within layouts/dbhero/application (0.3ms)
|
1436
|
+
Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 1.0ms)
|
1437
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1438
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1439
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1440
|
+
[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-23 22:28:43.802797"], ["updated_at", "2015-03-23 22:28:43.802797"], ["token", "423c37ef-a049-41dc-9e08-c1fe671565a7"]]
|
1441
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1442
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
1443
|
+
Parameters: {"id"=>"423c37ef-a049-41dc-9e08-c1fe671565a7"}
|
1444
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
1445
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1446
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1447
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1448
|
+
[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-23 22:28:43.810477"], ["updated_at", "2015-03-23 22:28:43.810477"], ["token", "9844d535-1923-4170-9b7d-719e9a225f64"]]
|
1449
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1450
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
1451
|
+
Parameters: {"id"=>"9844d535-1923-4170-9b7d-719e9a225f64"}
|
1452
|
+
[1m[35mDbhero::Dataclip Load (0.4ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "9844d535-1923-4170-9b7d-719e9a225f64"]]
|
1453
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1454
|
+
[1m[35m (0.5ms)[0m select 'dummy_foo' as dummy_bar, vesion() as db_version
|
1455
|
+
PG::UndefinedFunction: ERROR: function vesion() does not exist
|
1456
|
+
LINE 1: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
1457
|
+
^
|
1458
|
+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
1459
|
+
: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
1460
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1461
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/edit.html.slim within layouts/dbhero/application (0.3ms)
|
1462
|
+
Completed 200 OK in 6ms (Views: 3.6ms | ActiveRecord: 1.2ms)
|
1463
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1464
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1465
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
1466
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
1467
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
1468
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1469
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1470
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1471
|
+
[1m[36mSQL (0.2ms)[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-23 22:28:43.827248"], ["updated_at", "2015-03-23 22:28:43.827248"], ["token", "34d3f6d5-cb14-489f-b9c2-872b7d5e1824"]]
|
1472
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1473
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
1474
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"34d3f6d5-cb14-489f-b9c2-872b7d5e1824"}
|
1475
|
+
[1m[36mDbhero::Dataclip Load (0.4ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "34d3f6d5-cb14-489f-b9c2-872b7d5e1824"]]
|
1476
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1477
|
+
[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-23 22:28:43.846478"], ["id", 12]]
|
1478
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1479
|
+
Redirected to http://test.host/dbhero/dataclips/34d3f6d5-cb14-489f-b9c2-872b7d5e1824/edit
|
1480
|
+
Completed 302 Found in 10ms (ActiveRecord: 1.1ms)
|
1481
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1482
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1483
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1484
|
+
[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-23 22:28:43.858496"], ["updated_at", "2015-03-23 22:28:43.858496"], ["token", "3d9c1bd6-9527-4682-8526-739197844f79"]]
|
1485
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1486
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
1487
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"3d9c1bd6-9527-4682-8526-739197844f79"}
|
1488
|
+
[1m[35mDbhero::Dataclip Load (0.3ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "3d9c1bd6-9527-4682-8526-739197844f79"]]
|
1489
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1490
|
+
[1m[35mSQL (1.1ms)[0m UPDATE "dbhero_dataclips" SET "description" = $1, "updated_at" = $2 WHERE "dbhero_dataclips"."id" = $3 [["description", "updated"], ["updated_at", "2015-03-23 22:28:43.862519"], ["id", 13]]
|
1491
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1492
|
+
Redirected to http://test.host/dbhero/dataclips/3d9c1bd6-9527-4682-8526-739197844f79/edit
|
1493
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.7ms)
|
1494
|
+
[1m[35mDbhero::Dataclip Load (0.3ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "updated"]]
|
1495
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1496
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1497
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1498
|
+
[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-23 22:28:43.870517"], ["updated_at", "2015-03-23 22:28:43.870517"], ["token", "06f5c5ee-09f4-45e1-9e40-cfe5541013d8"]]
|
1499
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1500
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
1501
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"06f5c5ee-09f4-45e1-9e40-cfe5541013d8"}
|
1502
|
+
[1m[35mDbhero::Dataclip Load (0.3ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "06f5c5ee-09f4-45e1-9e40-cfe5541013d8"]]
|
1503
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1504
|
+
[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-23 22:28:43.874603"], ["id", 14]]
|
1505
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1506
|
+
Redirected to http://test.host/dbhero/dataclips/06f5c5ee-09f4-45e1-9e40-cfe5541013d8/edit
|
1507
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.1ms)
|
1508
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1509
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1510
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1511
|
+
[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-23 22:28:43.881132"], ["updated_at", "2015-03-23 22:28:43.881132"], ["token", "6a9a77ef-471b-4224-819b-555356a718db"]]
|
1512
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1513
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
1514
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"6a9a77ef-471b-4224-819b-555356a718db"}
|
1515
|
+
[1m[36mDbhero::Dataclip Load (0.2ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "6a9a77ef-471b-4224-819b-555356a718db"]]
|
1516
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1517
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "dbhero_dataclips" SET "description" = $1, "updated_at" = $2 WHERE "dbhero_dataclips"."id" = $3[0m [["description", "updated"], ["updated_at", "2015-03-23 22:28:43.885007"], ["id", 15]]
|
1518
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1519
|
+
Redirected to http://test.host/dbhero/dataclips/6a9a77ef-471b-4224-819b-555356a718db/edit
|
1520
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
|
1521
|
+
[1m[36mDbhero::Dataclip Load (0.3ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1[0m [["description", "updated"]]
|
1522
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1523
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1524
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1525
|
+
[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-23 22:28:43.892625"], ["updated_at", "2015-03-23 22:28:43.892625"], ["token", "4ae4f91f-7fd3-401d-ad98-7d9c4855b1f0"]]
|
1526
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1527
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
1528
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"4ae4f91f-7fd3-401d-ad98-7d9c4855b1f0"}
|
1529
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
1530
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1531
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1532
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1533
|
+
[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-23 22:28:43.899629"], ["updated_at", "2015-03-23 22:28:43.899629"], ["token", "38a4d133-9551-4a8b-9088-9e2a115d2793"]]
|
1534
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1535
|
+
[1m[35mDbhero::Dataclip Load (0.6ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."id" = $1 LIMIT 1 [["id", 17]]
|
1536
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1537
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1538
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1539
|
+
[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-23 22:28:43.906033"], ["updated_at", "2015-03-23 22:28:43.906033"], ["token", "0ef4859c-13cc-4536-ba66-d6b0a5e39185"]]
|
1540
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1541
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
1542
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"0ef4859c-13cc-4536-ba66-d6b0a5e39185"}
|
1543
|
+
[1m[35mDbhero::Dataclip Load (0.2ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "0ef4859c-13cc-4536-ba66-d6b0a5e39185"]]
|
1544
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1545
|
+
[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-23 22:28:43.909791"], ["id", 18]]
|
1546
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1547
|
+
Redirected to http://test.host/dbhero/dataclips/0ef4859c-13cc-4536-ba66-d6b0a5e39185/edit
|
1548
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
|
1549
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1550
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1551
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1552
|
+
[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-23 22:28:43.915851"], ["updated_at", "2015-03-23 22:28:43.915851"], ["token", "cb44e1fb-2196-4e9c-a3ee-a1406808b07c"]]
|
1553
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1554
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
1555
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"cb44e1fb-2196-4e9c-a3ee-a1406808b07c"}
|
1556
|
+
[1m[36mDbhero::Dataclip Load (0.3ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "cb44e1fb-2196-4e9c-a3ee-a1406808b07c"]]
|
1557
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1558
|
+
[1m[36mSQL (0.8ms)[0m [1mUPDATE "dbhero_dataclips" SET "description" = $1, "updated_at" = $2 WHERE "dbhero_dataclips"."id" = $3[0m [["description", "updated"], ["updated_at", "2015-03-23 22:28:43.920657"], ["id", 19]]
|
1559
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1560
|
+
Redirected to http://test.host/dbhero/dataclips/cb44e1fb-2196-4e9c-a3ee-a1406808b07c/edit
|
1561
|
+
Completed 302 Found in 6ms (ActiveRecord: 1.4ms)
|
1562
|
+
[1m[36mDbhero::Dataclip Load (0.5ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1[0m [["description", "updated"]]
|
1563
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1564
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1565
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1566
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1567
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1568
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1569
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1570
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1571
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1572
|
+
[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-23 22:28:43.949764"], ["updated_at", "2015-03-23 22:28:43.949764"], ["token", "87d44b56-2895-42ba-abeb-55b8c172db0d"]]
|
1573
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1574
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1575
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1576
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1577
|
+
[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-21 22:28:43.953299"], ["created_at", "2015-03-23 22:28:43.955274"], ["token", "e1d62c73-872c-444c-88c9-56ed572bcc9e"]]
|
1578
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1579
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1580
|
+
[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-22 22:28:43.957762"], ["created_at", "2015-03-23 22:28:43.958550"], ["token", "e9662b4b-dac8-4397-8e1c-63e5ab5d423d"]]
|
1581
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1582
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1583
|
+
[1m[35mSQL (0.3ms)[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-19 22:28:43.959986"], ["created_at", "2015-03-23 22:28:43.960673"], ["token", "01e90528-edde-46b5-9a99-9069832f5e61"]]
|
1584
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1585
|
+
[1m[35mDbhero::Dataclip Load (1.0ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" ORDER BY "dbhero_dataclips"."updated_at" DESC
|
1586
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1587
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1588
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1589
|
+
[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-23 22:28:43.966388"], ["updated_at", "2015-03-23 22:28:43.966388"], ["token", "7680f562-301d-4a0a-9ea5-9005ce188a52"]]
|
1590
|
+
[1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1591
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1592
|
+
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
1593
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1594
|
+
[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", "title\ndescription\nfoo"], ["raw_query", "select 'dummy_foo' as dummy_bar, vesion() as db_version"], ["created_at", "2015-03-23 22:28:43.971723"], ["updated_at", "2015-03-23 22:28:43.971723"], ["token", "6e5d3d69-96ff-467b-a8e0-f8f2884245b1"]]
|
1595
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1596
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1597
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1598
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1599
|
+
[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-23 22:28:43.976092"], ["updated_at", "2015-03-23 22:28:43.976092"], ["token", "3047124b-8799-4f41-b662-8badd81a7707"]]
|
1600
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1601
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1602
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1603
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1604
|
+
[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-23 22:28:43.980961"], ["updated_at", "2015-03-23 22:28:43.980961"], ["token", "b4b92a62-9e27-4378-8e5d-c3dae316cf33"]]
|
1605
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1606
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1607
|
+
[1m[35m (0.2ms)[0m select 'foo'::text as bar, 'bar'::text as foo
|
1608
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1609
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1610
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1611
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1612
|
+
[1m[36mSQL (0.2ms)[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-23 22:28:43.985142"], ["updated_at", "2015-03-23 22:28:43.985142"], ["token", "657cbf8d-0fa8-4ab5-a375-ec4bc098f96c"]]
|
1613
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1614
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1615
|
+
[1m[35m (0.4ms)[0m select foo.nest from (select unnest(ARRAY[1,2,3]) as nest) foo
|
1616
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1617
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1618
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1619
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1620
|
+
[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-23 22:28:43.989699"], ["updated_at", "2015-03-23 22:28:43.989699"], ["token", "756b60e3-df65-4a61-bbb9-636037e4a6ca"]]
|
1621
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1622
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1623
|
+
[1m[35m (0.2ms)[0m select 'foo'::text as bar, 'bar'::text as foo
|
1624
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1625
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1626
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1627
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1628
|
+
[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-23 22:28:43.995598"], ["updated_at", "2015-03-23 22:28:43.995598"], ["token", "0e82a93a-c8f3-4af9-8144-bfb6c3f53a68"]]
|
1629
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1630
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1631
|
+
[1m[35m (0.2ms)[0m select 'foo'::text as bar, 'bar'::text as foo
|
1632
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1633
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1634
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1635
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1636
|
+
[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-23 22:28:43.999591"], ["updated_at", "2015-03-23 22:28:43.999591"], ["token", "27d32b16-222b-42d6-9c76-9a73092391c8"]]
|
1637
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1638
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1639
|
+
[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-23 22:28:44.001675"], ["updated_at", "2015-03-23 22:28:44.001675"], ["token", "be8d8eec-f312-424b-b943-c8540143f65f"]]
|
1640
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1641
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1642
|
+
[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-23 22:28:44.004621"], ["updated_at", "2015-03-23 22:28:44.004621"], ["token", "2026d3df-aa32-4b79-baef-43851070e486"]]
|
1643
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1644
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1645
|
+
[1m[35mSQL (0.2ms)[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-23 22:28:44.006616"], ["updated_at", "2015-03-23 22:28:44.006616"], ["token", "f8e33733-dc76-4ae2-b16d-67eaed0b06d3"]]
|
1646
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1647
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1648
|
+
[1m[36mSQL (0.2ms)[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-23 22:28:44.008563"], ["updated_at", "2015-03-23 22:28:44.008563"], ["token", "4928f131-4e03-4abd-b033-ce26b0a340c3"]]
|
1649
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1650
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1651
|
+
[1m[35mSQL (0.2ms)[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-23 22:28:44.010399"], ["updated_at", "2015-03-23 22:28:44.010399"], ["token", "c57a6b43-6c82-4cb4-aea8-346d7c6ecc5a"]]
|
1652
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1653
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1654
|
+
[1m[36m (4.5ms)[0m [1mTRUNCATE table dbhero_dataclips[0m
|
1655
|
+
[1m[35m (1.7ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1656
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM "dbhero_dataclips"[0m
|
1657
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1658
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1659
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1660
|
+
[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-23 22:28:44.022514"], ["updated_at", "2015-03-23 22:28:44.022514"], ["token", "b645e92d-40c2-4c65-8141-f1d0e1e3329c"]]
|
1661
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1662
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1663
|
+
[1m[35mSQL (0.5ms)[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-23 22:28:44.025244"], ["updated_at", "2015-03-23 22:28:44.025244"], ["token", "38b0ae36-d5cc-4f8a-83e9-da5ed4372613"]]
|
1664
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1665
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1666
|
+
[1m[36mSQL (0.2ms)[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-23 22:28:44.028162"], ["updated_at", "2015-03-23 22:28:44.028162"], ["token", "9f73b139-56b2-4641-9234-6dc9b976e0da"]]
|
1667
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1668
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1669
|
+
[1m[35mSQL (0.2ms)[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-23 22:28:44.030151"], ["updated_at", "2015-03-23 22:28:44.030151"], ["token", "f226c8d3-55c5-483b-a9f3-7d27d09508aa"]]
|
1670
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1671
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1672
|
+
[1m[36mSQL (0.2ms)[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-23 22:28:44.032166"], ["updated_at", "2015-03-23 22:28:44.032166"], ["token", "eb0de1ea-9999-4687-8280-6a2086a55bf9"]]
|
1673
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1674
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1675
|
+
[1m[35mSQL (0.2ms)[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-23 22:28:44.034164"], ["updated_at", "2015-03-23 22:28:44.034164"], ["token", "b9683400-a476-4192-8bcd-4d11a5e25f41"]]
|
1676
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1677
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1678
|
+
[1m[36m (0.2ms)[0m [1mTRUNCATE table dbhero_dataclips; commit;[0m
|
1679
|
+
PG::SyntaxError: ERROR: cannot insert multiple commands into a prepared statement
|
1680
|
+
: TRUNCATE table dbhero_dataclips; commit;
|
1681
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1682
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "dbhero_dataclips"[0m
|
1683
|
+
[1m[35m (0.8ms)[0m ROLLBACK
|
1684
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1685
|
+
[1m[36m (123.8ms)[0m [1mDROP DATABASE IF EXISTS "dummy_test"[0m
|
1686
|
+
[1m[35m (354.3ms)[0m CREATE DATABASE "dummy_test" ENCODING = 'unicode'
|
1687
|
+
[1m[36mSQL (0.4ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1688
|
+
[1m[35m (8.4ms)[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)
|
1689
|
+
[1m[36m (2.0ms)[0m [1mCREATE UNIQUE INDEX "index_dbhero_dataclips_on_token" ON "dbhero_dataclips" USING btree ("token")[0m
|
1690
|
+
[1m[35m (1.7ms)[0m CREATE INDEX "index_dbhero_dataclips_on_user" ON "dbhero_dataclips" USING btree ("user")
|
1691
|
+
[1m[36m (3.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
1692
|
+
[1m[35m (1.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1693
|
+
[1m[36m (0.4ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1694
|
+
[1m[35m (0.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150323172444')
|
1695
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.6ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1696
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1697
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
1698
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
1699
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1700
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1701
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
1702
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/index.html.slim within layouts/dbhero/application (0.4ms)
|
1703
|
+
Completed 200 OK in 21ms (Views: 19.7ms | ActiveRecord: 0.0ms)
|
1704
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1705
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1706
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
1707
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/index.html.slim within layouts/dbhero/application (0.2ms)
|
1708
|
+
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
1709
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
1710
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1711
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
1712
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
1713
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1714
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1715
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
1716
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/index.html.slim within layouts/dbhero/application (0.4ms)
|
1717
|
+
Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
|
1718
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
1719
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1720
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
1721
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
1722
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1723
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1724
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
1725
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/new.html.slim within layouts/dbhero/application (0.2ms)
|
1726
|
+
Completed 200 OK in 21ms (Views: 3.4ms | ActiveRecord: 9.3ms)
|
1727
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1728
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1729
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
1730
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/new.html.slim within layouts/dbhero/application (0.2ms)
|
1731
|
+
Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
|
1732
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1733
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1734
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
1735
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
1736
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1737
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1738
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
1739
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/new.html.slim within layouts/dbhero/application (0.2ms)
|
1740
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
1741
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1742
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
1743
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
1744
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
1745
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
1746
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1747
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1748
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
1749
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
1750
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1751
|
+
[1m[36mSQL (1.1ms)[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-23 22:29:04.446566"], ["updated_at", "2015-03-23 22:29:04.446566"], ["token", "d9d9a4d4-93d3-481a-88e2-315262e9ec5d"]]
|
1752
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1753
|
+
Redirected to http://test.host/dbhero/dataclips/d9d9a4d4-93d3-481a-88e2-315262e9ec5d/edit
|
1754
|
+
Completed 302 Found in 20ms (ActiveRecord: 1.6ms)
|
1755
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1756
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1757
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
1758
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
1759
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1760
|
+
[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-23 22:29:04.468159"], ["updated_at", "2015-03-23 22:29:04.468159"], ["token", "0daff380-3e2a-4213-92e0-a9505efff901"]]
|
1761
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1762
|
+
Redirected to http://test.host/dbhero/dataclips/0daff380-3e2a-4213-92e0-a9505efff901/edit
|
1763
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
|
1764
|
+
[1m[35mDbhero::Dataclip Load (0.6ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "foo bar"]]
|
1765
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1766
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1767
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
1768
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
1769
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1770
|
+
[1m[35mSQL (0.6ms)[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-23 22:29:04.488229"], ["updated_at", "2015-03-23 22:29:04.488229"], ["token", "432fdb5a-5cd7-4d16-95b3-3b192deac955"]]
|
1771
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1772
|
+
Redirected to http://test.host/dbhero/dataclips/432fdb5a-5cd7-4d16-95b3-3b192deac955/edit
|
1773
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
|
1774
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1775
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1776
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
1777
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
1778
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1779
|
+
[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-23 22:29:04.498675"], ["updated_at", "2015-03-23 22:29:04.498675"], ["token", "b170a0a6-8110-40c4-9e29-ea01ef543a33"]]
|
1780
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1781
|
+
Redirected to http://test.host/dbhero/dataclips/b170a0a6-8110-40c4-9e29-ea01ef543a33/edit
|
1782
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
|
1783
|
+
[1m[36mDbhero::Dataclip Load (0.3ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1[0m [["description", "foo bar"]]
|
1784
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
1785
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
1786
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
1787
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
1788
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
1789
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1790
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1791
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
1792
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar disabled", "raw_query"=>"select 'foo' as bar"}}
|
1793
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1794
|
+
[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-23 22:29:04.513705"], ["updated_at", "2015-03-23 22:29:04.513705"], ["token", "9ad5d151-4eec-4ef8-8976-3b6da9ac1b88"]]
|
1795
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1796
|
+
Redirected to http://test.host/dbhero/dataclips/9ad5d151-4eec-4ef8-8976-3b6da9ac1b88/edit
|
1797
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
1798
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1799
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1800
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
1801
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar disabled", "raw_query"=>"select 'foo' as bar"}}
|
1802
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1803
|
+
[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-23 22:29:04.521165"], ["updated_at", "2015-03-23 22:29:04.521165"], ["token", "d1dc9a70-639b-40d9-8675-393209f46588"]]
|
1804
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1805
|
+
Redirected to http://test.host/dbhero/dataclips/d1dc9a70-639b-40d9-8675-393209f46588/edit
|
1806
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
1807
|
+
[1m[35mDbhero::Dataclip Load (0.3ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "foo bar disabled"]]
|
1808
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1809
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1810
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1811
|
+
[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-23 22:29:04.527661"], ["updated_at", "2015-03-23 22:29:04.527661"], ["token", "9190da71-f9e6-4074-b3b0-ac0f8e11b551"]]
|
1812
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1813
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
1814
|
+
Parameters: {"id"=>"9190da71-f9e6-4074-b3b0-ac0f8e11b551"}
|
1815
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
1816
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1817
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1818
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1819
|
+
[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-23 22:29:04.534537"], ["updated_at", "2015-03-23 22:29:04.534537"], ["token", "2e608808-4f37-40be-a48e-9d765d2d40ae"]]
|
1820
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1821
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
1822
|
+
Parameters: {"id"=>"2e608808-4f37-40be-a48e-9d765d2d40ae"}
|
1823
|
+
[1m[36mDbhero::Dataclip Load (0.7ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "2e608808-4f37-40be-a48e-9d765d2d40ae"]]
|
1824
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1825
|
+
[1m[36m (1.4ms)[0m [1mselect 'dummy_foo' as dummy_bar, vesion() as db_version[0m
|
1826
|
+
PG::UndefinedFunction: ERROR: function vesion() does not exist
|
1827
|
+
LINE 1: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
1828
|
+
^
|
1829
|
+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
1830
|
+
: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
1831
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1832
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/edit.html.slim within layouts/dbhero/application (0.3ms)
|
1833
|
+
Completed 200 OK in 9ms (Views: 3.3ms | ActiveRecord: 2.5ms)
|
1834
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1835
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1836
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1837
|
+
[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-23 22:29:04.549242"], ["updated_at", "2015-03-23 22:29:04.549242"], ["token", "bf6ad37c-85e2-4e4d-b681-72d2e639b0b4"]]
|
1838
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1839
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
1840
|
+
Parameters: {"id"=>"bf6ad37c-85e2-4e4d-b681-72d2e639b0b4"}
|
1841
|
+
[1m[35mDbhero::Dataclip Load (0.4ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "bf6ad37c-85e2-4e4d-b681-72d2e639b0b4"]]
|
1842
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1843
|
+
[1m[35m (0.3ms)[0m select 'dummy_foo' as dummy_bar, vesion() as db_version
|
1844
|
+
PG::UndefinedFunction: ERROR: function vesion() does not exist
|
1845
|
+
LINE 1: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
1846
|
+
^
|
1847
|
+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
1848
|
+
: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
1849
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1850
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/edit.html.slim within layouts/dbhero/application (0.2ms)
|
1851
|
+
Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.8ms)
|
1852
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1853
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1854
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1855
|
+
[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-23 22:29:04.559032"], ["updated_at", "2015-03-23 22:29:04.559032"], ["token", "e652e27f-ae7e-4720-b180-5adbe18ea144"]]
|
1856
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1857
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
1858
|
+
Parameters: {"id"=>"e652e27f-ae7e-4720-b180-5adbe18ea144"}
|
1859
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
1860
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1861
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1862
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1863
|
+
[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-23 22:29:04.566219"], ["updated_at", "2015-03-23 22:29:04.566219"], ["token", "a8656a4d-b16c-4be8-a386-7800270e7dc0"]]
|
1864
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1865
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
1866
|
+
Parameters: {"id"=>"a8656a4d-b16c-4be8-a386-7800270e7dc0"}
|
1867
|
+
[1m[35mDbhero::Dataclip Load (0.4ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "a8656a4d-b16c-4be8-a386-7800270e7dc0"]]
|
1868
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1869
|
+
[1m[35m (0.4ms)[0m select 'dummy_foo' as dummy_bar, vesion() as db_version
|
1870
|
+
PG::UndefinedFunction: ERROR: function vesion() does not exist
|
1871
|
+
LINE 1: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
1872
|
+
^
|
1873
|
+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
1874
|
+
: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
1875
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1876
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/edit.html.slim within layouts/dbhero/application (0.5ms)
|
1877
|
+
Completed 200 OK in 8ms (Views: 4.8ms | ActiveRecord: 1.2ms)
|
1878
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
1879
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1880
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
1881
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
1882
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
1883
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
1884
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1885
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1886
|
+
[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-23 22:29:04.586767"], ["updated_at", "2015-03-23 22:29:04.586767"], ["token", "afdaf719-6136-41aa-8372-1258878d6cfe"]]
|
1887
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1888
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
1889
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"afdaf719-6136-41aa-8372-1258878d6cfe"}
|
1890
|
+
[1m[36mDbhero::Dataclip Load (0.5ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "afdaf719-6136-41aa-8372-1258878d6cfe"]]
|
1891
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1892
|
+
[1m[36mSQL (0.7ms)[0m [1mUPDATE "dbhero_dataclips" SET "description" = $1, "updated_at" = $2 WHERE "dbhero_dataclips"."id" = $3[0m [["description", "updated"], ["updated_at", "2015-03-23 22:29:04.611167"], ["id", 12]]
|
1893
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1894
|
+
Redirected to http://test.host/dbhero/dataclips/afdaf719-6136-41aa-8372-1258878d6cfe/edit
|
1895
|
+
Completed 302 Found in 13ms (ActiveRecord: 1.5ms)
|
1896
|
+
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
1897
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1898
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1899
|
+
[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-23 22:29:04.625139"], ["updated_at", "2015-03-23 22:29:04.625139"], ["token", "da06c5ac-fe08-451a-86e2-c65b24b3f591"]]
|
1900
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1901
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
1902
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"da06c5ac-fe08-451a-86e2-c65b24b3f591"}
|
1903
|
+
[1m[35mDbhero::Dataclip Load (0.3ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "da06c5ac-fe08-451a-86e2-c65b24b3f591"]]
|
1904
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1905
|
+
[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-23 22:29:04.629488"], ["id", 13]]
|
1906
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1907
|
+
Redirected to http://test.host/dbhero/dataclips/da06c5ac-fe08-451a-86e2-c65b24b3f591/edit
|
1908
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
|
1909
|
+
[1m[35mDbhero::Dataclip Load (0.3ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "updated"]]
|
1910
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1911
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1912
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1913
|
+
[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-23 22:29:04.636486"], ["updated_at", "2015-03-23 22:29:04.636486"], ["token", "4b90901e-7deb-4e35-bc54-e56afa7bb920"]]
|
1914
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1915
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
1916
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"4b90901e-7deb-4e35-bc54-e56afa7bb920"}
|
1917
|
+
[1m[35mDbhero::Dataclip Load (0.3ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "4b90901e-7deb-4e35-bc54-e56afa7bb920"]]
|
1918
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1919
|
+
[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-23 22:29:04.640709"], ["id", 14]]
|
1920
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1921
|
+
Redirected to http://test.host/dbhero/dataclips/4b90901e-7deb-4e35-bc54-e56afa7bb920/edit
|
1922
|
+
Completed 302 Found in 4ms (ActiveRecord: 1.1ms)
|
1923
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1924
|
+
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
1925
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1926
|
+
[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-23 22:29:04.647767"], ["updated_at", "2015-03-23 22:29:04.647767"], ["token", "f9468f29-afe8-4543-852e-4f9013f79d91"]]
|
1927
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1928
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
1929
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"f9468f29-afe8-4543-852e-4f9013f79d91"}
|
1930
|
+
[1m[36mDbhero::Dataclip Load (0.2ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "f9468f29-afe8-4543-852e-4f9013f79d91"]]
|
1931
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1932
|
+
[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-23 22:29:04.652067"], ["id", 15]]
|
1933
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1934
|
+
Redirected to http://test.host/dbhero/dataclips/f9468f29-afe8-4543-852e-4f9013f79d91/edit
|
1935
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
|
1936
|
+
[1m[36mDbhero::Dataclip Load (0.3ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1[0m [["description", "updated"]]
|
1937
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1938
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1939
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1940
|
+
[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-23 22:29:04.659047"], ["updated_at", "2015-03-23 22:29:04.659047"], ["token", "630396c7-6102-485b-b057-da39d72a5684"]]
|
1941
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1942
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
1943
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"630396c7-6102-485b-b057-da39d72a5684"}
|
1944
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
1945
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1946
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1947
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1948
|
+
[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-23 22:29:04.665077"], ["updated_at", "2015-03-23 22:29:04.665077"], ["token", "9afea532-c59d-49c6-9b7e-fcbdf8ca2e8a"]]
|
1949
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1950
|
+
[1m[35mDbhero::Dataclip Load (0.3ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."id" = $1 LIMIT 1 [["id", 17]]
|
1951
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1952
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1953
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1954
|
+
[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-23 22:29:04.672307"], ["updated_at", "2015-03-23 22:29:04.672307"], ["token", "e1a76f2d-5a51-4496-ac63-ab5f006236c2"]]
|
1955
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1956
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
1957
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"e1a76f2d-5a51-4496-ac63-ab5f006236c2"}
|
1958
|
+
[1m[35mDbhero::Dataclip Load (0.2ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "e1a76f2d-5a51-4496-ac63-ab5f006236c2"]]
|
1959
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1960
|
+
[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-23 22:29:04.676633"], ["id", 18]]
|
1961
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1962
|
+
Redirected to http://test.host/dbhero/dataclips/e1a76f2d-5a51-4496-ac63-ab5f006236c2/edit
|
1963
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
|
1964
|
+
[1m[35m (0.7ms)[0m ROLLBACK
|
1965
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1966
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1967
|
+
[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-23 22:29:04.683740"], ["updated_at", "2015-03-23 22:29:04.683740"], ["token", "0eb1b6aa-a3fd-471d-8cab-32d04e476e4b"]]
|
1968
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1969
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
1970
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"0eb1b6aa-a3fd-471d-8cab-32d04e476e4b"}
|
1971
|
+
[1m[36mDbhero::Dataclip Load (0.3ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "0eb1b6aa-a3fd-471d-8cab-32d04e476e4b"]]
|
1972
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1973
|
+
[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-23 22:29:04.688128"], ["id", 19]]
|
1974
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1975
|
+
Redirected to http://test.host/dbhero/dataclips/0eb1b6aa-a3fd-471d-8cab-32d04e476e4b/edit
|
1976
|
+
Completed 302 Found in 4ms (ActiveRecord: 1.0ms)
|
1977
|
+
[1m[36mDbhero::Dataclip Load (0.9ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1[0m [["description", "updated"]]
|
1978
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1979
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1980
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1981
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1982
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1983
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1984
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
1985
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1986
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1987
|
+
[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-23 22:29:04.717107"], ["updated_at", "2015-03-23 22:29:04.717107"], ["token", "9962d417-1171-496e-830c-b3900cfa7e1f"]]
|
1988
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1989
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1990
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1991
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1992
|
+
[1m[35mSQL (0.3ms)[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-21 22:29:04.720205"], ["created_at", "2015-03-23 22:29:04.721363"], ["token", "f4a8d3c5-a356-43e9-9519-814f7a53ebb5"]]
|
1993
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1994
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1995
|
+
[1m[36mSQL (0.4ms)[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-22 22:29:04.723174"], ["created_at", "2015-03-23 22:29:04.724057"], ["token", "3b0aa8a5-8847-46bb-a471-34345b789838"]]
|
1996
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1997
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1998
|
+
[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-19 22:29:04.726919"], ["created_at", "2015-03-23 22:29:04.727822"], ["token", "26ef4ca9-1666-4f83-955e-4f5bd44ba331"]]
|
1999
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2000
|
+
[1m[35mDbhero::Dataclip Load (1.0ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" ORDER BY "dbhero_dataclips"."updated_at" DESC
|
2001
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2002
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2003
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2004
|
+
[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-23 22:29:04.734548"], ["updated_at", "2015-03-23 22:29:04.734548"], ["token", "0062ed91-8574-49fb-98fc-95b5bc486051"]]
|
2005
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2006
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2007
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2008
|
+
[1m[35m (0.5ms)[0m SAVEPOINT active_record_1
|
2009
|
+
[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", "title\ndescription\nfoo"], ["raw_query", "select 'dummy_foo' as dummy_bar, vesion() as db_version"], ["created_at", "2015-03-23 22:29:04.739330"], ["updated_at", "2015-03-23 22:29:04.739330"], ["token", "70acbeb3-5f4e-464c-95da-ef256082b7b1"]]
|
2010
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2011
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2012
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2013
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2014
|
+
[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-23 22:29:04.742555"], ["updated_at", "2015-03-23 22:29:04.742555"], ["token", "f7f9c5b5-a4e4-4b35-88b0-827773be7770"]]
|
2015
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2016
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2017
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2018
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2019
|
+
[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-23 22:29:04.746198"], ["updated_at", "2015-03-23 22:29:04.746198"], ["token", "aa1a1616-83b9-453c-b9b2-7d030bcf2a34"]]
|
2020
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2021
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2022
|
+
[1m[35m (1.3ms)[0m select 'foo'::text as bar, 'bar'::text as foo
|
2023
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2024
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2025
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2026
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2027
|
+
[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.nest from (select unnest(ARRAY[1,2,3]) as nest) foo"], ["created_at", "2015-03-23 22:29:04.753892"], ["updated_at", "2015-03-23 22:29:04.753892"], ["token", "b2515d40-0bb3-4f19-8126-3a7d47a35eb5"]]
|
2028
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2029
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2030
|
+
[1m[35m (0.4ms)[0m select foo.nest from (select unnest(ARRAY[1,2,3]) as nest) foo
|
2031
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2032
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2033
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2034
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2035
|
+
[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-23 22:29:04.758753"], ["updated_at", "2015-03-23 22:29:04.758753"], ["token", "d42b326d-1ed2-455e-935d-06f21ca23fc4"]]
|
2036
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2037
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2038
|
+
[1m[35m (0.2ms)[0m select 'foo'::text as bar, 'bar'::text as foo
|
2039
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2040
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2041
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2042
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2043
|
+
[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-23 22:29:04.766258"], ["updated_at", "2015-03-23 22:29:04.766258"], ["token", "4709c6b9-36a0-43c9-9276-3cf5599897e5"]]
|
2044
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2045
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2046
|
+
[1m[35m (0.3ms)[0m select 'foo'::text as bar, 'bar'::text as foo
|
2047
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2048
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2049
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2050
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2051
|
+
[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-23 22:29:04.771290"], ["updated_at", "2015-03-23 22:29:04.771290"], ["token", "44eef34f-3332-493b-a18e-ac6dfed310d9"]]
|
2052
|
+
[1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
|
2053
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2054
|
+
[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-23 22:29:04.774315"], ["updated_at", "2015-03-23 22:29:04.774315"], ["token", "0c1ffd6f-5bcb-47a1-94e6-918b33939d84"]]
|
2055
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2056
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2057
|
+
[1m[36mSQL (0.2ms)[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-23 22:29:04.776433"], ["updated_at", "2015-03-23 22:29:04.776433"], ["token", "6feefd50-d9c1-4365-9587-3c347d7eeb1e"]]
|
2058
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2059
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2060
|
+
[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-23 22:29:04.778561"], ["updated_at", "2015-03-23 22:29:04.778561"], ["token", "3ce76563-983a-4085-b647-3f53ff3c253d"]]
|
2061
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2062
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2063
|
+
[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-23 22:29:04.781501"], ["updated_at", "2015-03-23 22:29:04.781501"], ["token", "834b0c03-0e86-4bd5-9fff-71660c8667d5"]]
|
2064
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2065
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2066
|
+
[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"], ["created_at", "2015-03-23 22:29:04.785991"], ["updated_at", "2015-03-23 22:29:04.785991"], ["token", "d4c97cba-6cb0-42bb-9945-e33c9446d877"]]
|
2067
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2068
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2069
|
+
[1m[36m (2.9ms)[0m [1mTRUNCATE table dbhero_dataclips[0m
|
2070
|
+
[1m[35m (1.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2071
|
+
[1m[36m (0.8ms)[0m [1mSELECT COUNT(*) FROM "dbhero_dataclips"[0m
|
2072
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2073
|
+
[1m[36m (0.8ms)[0m [1mBEGIN[0m
|
2074
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2075
|
+
[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 'dummy_foo' as dummy_bar, vesion() as db_version"], ["created_at", "2015-03-23 22:29:04.798008"], ["updated_at", "2015-03-23 22:29:04.798008"], ["token", "025fe0b0-15c1-48ff-8bf9-c53c38035c57"]]
|
2076
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2077
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2078
|
+
[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-23 22:29:04.801078"], ["updated_at", "2015-03-23 22:29:04.801078"], ["token", "45248ca2-3c14-4c7a-9d01-19844d257b7e"]]
|
2079
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2080
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2081
|
+
[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-23 22:29:04.803478"], ["updated_at", "2015-03-23 22:29:04.803478"], ["token", "acac974c-86c3-4da0-83df-3157a63b4df2"]]
|
2082
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2083
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2084
|
+
[1m[35mSQL (0.2ms)[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-23 22:29:04.806090"], ["updated_at", "2015-03-23 22:29:04.806090"], ["token", "e5a35d6c-a95f-452c-8a4d-833e6720c763"]]
|
2085
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2086
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2087
|
+
[1m[36mSQL (0.2ms)[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-23 22:29:04.809576"], ["updated_at", "2015-03-23 22:29:04.809576"], ["token", "7748de03-9b6a-4b24-a4d0-f343bd3a5bc3"]]
|
2088
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2089
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2090
|
+
[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-23 22:29:04.811936"], ["updated_at", "2015-03-23 22:29:04.811936"], ["token", "74fcb8d2-03e4-4de4-80f2-62f7e5a41b22"]]
|
2091
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2092
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2093
|
+
[1m[36m (0.3ms)[0m [1mTRUNCATE table dbhero_dataclips; commit;[0m
|
2094
|
+
PG::SyntaxError: ERROR: cannot insert multiple commands into a prepared statement
|
2095
|
+
: TRUNCATE table dbhero_dataclips; commit;
|
2096
|
+
[1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2097
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "dbhero_dataclips"[0m
|
2098
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2099
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2100
|
+
[1m[36m (119.3ms)[0m [1mDROP DATABASE IF EXISTS "dummy_test"[0m
|
2101
|
+
[1m[35m (337.9ms)[0m CREATE DATABASE "dummy_test" ENCODING = 'unicode'
|
2102
|
+
[1m[36mSQL (0.4ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
2103
|
+
[1m[35m (10.4ms)[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)
|
2104
|
+
[1m[36m (2.3ms)[0m [1mCREATE UNIQUE INDEX "index_dbhero_dataclips_on_token" ON "dbhero_dataclips" USING btree ("token")[0m
|
2105
|
+
[1m[35m (1.6ms)[0m CREATE INDEX "index_dbhero_dataclips_on_user" ON "dbhero_dataclips" USING btree ("user")
|
2106
|
+
[1m[36m (2.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
2107
|
+
[1m[35m (1.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
2108
|
+
[1m[36m (0.4ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2109
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150323172444')
|
2110
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.5ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
2111
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2112
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
2113
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
2114
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2115
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2116
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
2117
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/index.html.slim within layouts/dbhero/application (0.3ms)
|
2118
|
+
Completed 200 OK in 16ms (Views: 15.0ms | ActiveRecord: 0.0ms)
|
2119
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2120
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2121
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
2122
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/index.html.slim within layouts/dbhero/application (0.6ms)
|
2123
|
+
Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
|
2124
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2125
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2126
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
2127
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
2128
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2129
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2130
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
2131
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/index.html.slim within layouts/dbhero/application (0.3ms)
|
2132
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
2133
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2134
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2135
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
2136
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
2137
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2138
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2139
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
2140
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/new.html.slim within layouts/dbhero/application (0.2ms)
|
2141
|
+
Completed 200 OK in 20ms (Views: 3.2ms | ActiveRecord: 8.3ms)
|
2142
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2143
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2144
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
2145
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/new.html.slim within layouts/dbhero/application (0.4ms)
|
2146
|
+
Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
|
2147
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2148
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2149
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
2150
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
2151
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2152
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2153
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
2154
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/new.html.slim within layouts/dbhero/application (0.2ms)
|
2155
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
2156
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2157
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2158
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
2159
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
2160
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
2161
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2162
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2163
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
2164
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
2165
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2166
|
+
[1m[36mSQL (1.1ms)[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-23 22:29:21.106901"], ["updated_at", "2015-03-23 22:29:21.106901"], ["token", "dee4bfdc-819c-42b0-a68e-d2e22df9f7d8"]]
|
2167
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2168
|
+
Redirected to http://test.host/dbhero/dataclips/dee4bfdc-819c-42b0-a68e-d2e22df9f7d8/edit
|
2169
|
+
Completed 302 Found in 18ms (ActiveRecord: 1.6ms)
|
2170
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2171
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2172
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
2173
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
2174
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2175
|
+
[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-23 22:29:21.126807"], ["updated_at", "2015-03-23 22:29:21.126807"], ["token", "b954cbf6-f794-49ad-a3fd-b48020cc0af5"]]
|
2176
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2177
|
+
Redirected to http://test.host/dbhero/dataclips/b954cbf6-f794-49ad-a3fd-b48020cc0af5/edit
|
2178
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
|
2179
|
+
[1m[35mDbhero::Dataclip Load (0.6ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "foo bar"]]
|
2180
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2181
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2182
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
2183
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
2184
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2185
|
+
[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-23 22:29:21.145638"], ["updated_at", "2015-03-23 22:29:21.145638"], ["token", "fdd959a9-a158-40de-80dd-bb418da2b0b9"]]
|
2186
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2187
|
+
Redirected to http://test.host/dbhero/dataclips/fdd959a9-a158-40de-80dd-bb418da2b0b9/edit
|
2188
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
2189
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2190
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2191
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
2192
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
2193
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2194
|
+
[1m[36mSQL (0.3ms)[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-23 22:29:21.152837"], ["updated_at", "2015-03-23 22:29:21.152837"], ["token", "bae137da-ee17-4284-86a8-318b64e87620"]]
|
2195
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2196
|
+
Redirected to http://test.host/dbhero/dataclips/bae137da-ee17-4284-86a8-318b64e87620/edit
|
2197
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
|
2198
|
+
[1m[36mDbhero::Dataclip Load (0.3ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1[0m [["description", "foo bar"]]
|
2199
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2200
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2201
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
2202
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
2203
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
2204
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2205
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
2206
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
2207
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar disabled", "raw_query"=>"select 'foo' as bar"}}
|
2208
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2209
|
+
[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-23 22:29:21.169444"], ["updated_at", "2015-03-23 22:29:21.169444"], ["token", "9121b4f2-68f4-410d-b7b2-15642acfd590"]]
|
2210
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2211
|
+
Redirected to http://test.host/dbhero/dataclips/9121b4f2-68f4-410d-b7b2-15642acfd590/edit
|
2212
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
2213
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2214
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2215
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
2216
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar disabled", "raw_query"=>"select 'foo' as bar"}}
|
2217
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2218
|
+
[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-23 22:29:21.176103"], ["updated_at", "2015-03-23 22:29:21.176103"], ["token", "1bb8035c-ad31-4408-9799-7a76eb4ccb4b"]]
|
2219
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2220
|
+
Redirected to http://test.host/dbhero/dataclips/1bb8035c-ad31-4408-9799-7a76eb4ccb4b/edit
|
2221
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
2222
|
+
[1m[35mDbhero::Dataclip Load (0.3ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "foo bar disabled"]]
|
2223
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2224
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2225
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2226
|
+
[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-23 22:29:21.183214"], ["updated_at", "2015-03-23 22:29:21.183214"], ["token", "a90e8210-864b-4078-b62a-821ba2b5f24b"]]
|
2227
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2228
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
2229
|
+
Parameters: {"id"=>"a90e8210-864b-4078-b62a-821ba2b5f24b"}
|
2230
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
2231
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2232
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2233
|
+
[1m[35m (0.5ms)[0m SAVEPOINT active_record_1
|
2234
|
+
[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-23 22:29:21.189936"], ["updated_at", "2015-03-23 22:29:21.189936"], ["token", "9314bcc3-5249-4671-b69e-a38864ebcd7d"]]
|
2235
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2236
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
2237
|
+
Parameters: {"id"=>"9314bcc3-5249-4671-b69e-a38864ebcd7d"}
|
2238
|
+
[1m[36mDbhero::Dataclip Load (0.3ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "9314bcc3-5249-4671-b69e-a38864ebcd7d"]]
|
2239
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2240
|
+
[1m[36m (0.5ms)[0m [1mselect 'dummy_foo' as dummy_bar, vesion() as db_version[0m
|
2241
|
+
PG::UndefinedFunction: ERROR: function vesion() does not exist
|
2242
|
+
LINE 1: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
2243
|
+
^
|
2244
|
+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
2245
|
+
: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
2246
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2247
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/edit.html.slim within layouts/dbhero/application (0.3ms)
|
2248
|
+
Completed 200 OK in 7ms (Views: 3.6ms | ActiveRecord: 1.1ms)
|
2249
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2250
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2251
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2252
|
+
[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-23 22:29:21.204021"], ["updated_at", "2015-03-23 22:29:21.204021"], ["token", "bbece829-3517-470b-9988-03e220a7b188"]]
|
2253
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2254
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
2255
|
+
Parameters: {"id"=>"bbece829-3517-470b-9988-03e220a7b188"}
|
2256
|
+
[1m[35mDbhero::Dataclip Load (0.3ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "bbece829-3517-470b-9988-03e220a7b188"]]
|
2257
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2258
|
+
[1m[35m (0.4ms)[0m select 'dummy_foo' as dummy_bar, vesion() as db_version
|
2259
|
+
PG::UndefinedFunction: ERROR: function vesion() does not exist
|
2260
|
+
LINE 1: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
2261
|
+
^
|
2262
|
+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
2263
|
+
: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
2264
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2265
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/edit.html.slim within layouts/dbhero/application (0.2ms)
|
2266
|
+
Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 1.0ms)
|
2267
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2268
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2269
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2270
|
+
[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-23 22:29:21.213903"], ["updated_at", "2015-03-23 22:29:21.213903"], ["token", "a229d29f-c8a0-4c64-b898-abca77f81f61"]]
|
2271
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2272
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
2273
|
+
Parameters: {"id"=>"a229d29f-c8a0-4c64-b898-abca77f81f61"}
|
2274
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
2275
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2276
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2277
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2278
|
+
[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-23 22:29:21.220610"], ["updated_at", "2015-03-23 22:29:21.220610"], ["token", "8d0114a7-ac2b-4f3a-b4b7-07fea1527578"]]
|
2279
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2280
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
2281
|
+
Parameters: {"id"=>"8d0114a7-ac2b-4f3a-b4b7-07fea1527578"}
|
2282
|
+
[1m[35mDbhero::Dataclip Load (0.3ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "8d0114a7-ac2b-4f3a-b4b7-07fea1527578"]]
|
2283
|
+
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
2284
|
+
[1m[35m (0.3ms)[0m select 'dummy_foo' as dummy_bar, vesion() as db_version
|
2285
|
+
PG::UndefinedFunction: ERROR: function vesion() does not exist
|
2286
|
+
LINE 1: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
2287
|
+
^
|
2288
|
+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
2289
|
+
: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
2290
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2291
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/edit.html.slim within layouts/dbhero/application (0.2ms)
|
2292
|
+
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 1.1ms)
|
2293
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2294
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2295
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
2296
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
2297
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
2298
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2299
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2300
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2301
|
+
[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-23 22:29:21.233163"], ["updated_at", "2015-03-23 22:29:21.233163"], ["token", "448325fb-d376-4d4d-8ed8-e0a88c015ff9"]]
|
2302
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2303
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
2304
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"448325fb-d376-4d4d-8ed8-e0a88c015ff9"}
|
2305
|
+
[1m[36mDbhero::Dataclip Load (0.5ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "448325fb-d376-4d4d-8ed8-e0a88c015ff9"]]
|
2306
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
2307
|
+
[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-23 22:29:21.238980"], ["id", 12]]
|
2308
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2309
|
+
Redirected to http://test.host/dbhero/dataclips/448325fb-d376-4d4d-8ed8-e0a88c015ff9/edit
|
2310
|
+
Completed 302 Found in 12ms (ActiveRecord: 1.4ms)
|
2311
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2312
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2313
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2314
|
+
[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-23 22:29:21.253051"], ["updated_at", "2015-03-23 22:29:21.253051"], ["token", "da88ca7b-db86-453e-8100-67fdd99f4e34"]]
|
2315
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2316
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
2317
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"da88ca7b-db86-453e-8100-67fdd99f4e34"}
|
2318
|
+
[1m[35mDbhero::Dataclip Load (0.5ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "da88ca7b-db86-453e-8100-67fdd99f4e34"]]
|
2319
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2320
|
+
[1m[35mSQL (0.6ms)[0m UPDATE "dbhero_dataclips" SET "description" = $1, "updated_at" = $2 WHERE "dbhero_dataclips"."id" = $3 [["description", "updated"], ["updated_at", "2015-03-23 22:29:21.258313"], ["id", 13]]
|
2321
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2322
|
+
Redirected to http://test.host/dbhero/dataclips/da88ca7b-db86-453e-8100-67fdd99f4e34/edit
|
2323
|
+
Completed 302 Found in 6ms (ActiveRecord: 1.7ms)
|
2324
|
+
[1m[35mDbhero::Dataclip Load (0.4ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "updated"]]
|
2325
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2326
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2327
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2328
|
+
[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", "foo bar"], ["raw_query", "select 'foo' as bar"], ["created_at", "2015-03-23 22:29:21.269363"], ["updated_at", "2015-03-23 22:29:21.269363"], ["token", "d2e8873c-4f3f-438a-87f6-0dd9775361b5"]]
|
2329
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2330
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
2331
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"d2e8873c-4f3f-438a-87f6-0dd9775361b5"}
|
2332
|
+
[1m[35mDbhero::Dataclip Load (0.4ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "d2e8873c-4f3f-438a-87f6-0dd9775361b5"]]
|
2333
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2334
|
+
[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-23 22:29:21.276307"], ["id", 14]]
|
2335
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2336
|
+
Redirected to http://test.host/dbhero/dataclips/d2e8873c-4f3f-438a-87f6-0dd9775361b5/edit
|
2337
|
+
Completed 302 Found in 4ms (ActiveRecord: 1.0ms)
|
2338
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2339
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2340
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2341
|
+
[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-23 22:29:21.283948"], ["updated_at", "2015-03-23 22:29:21.283948"], ["token", "2b903dd5-d0a6-4e02-90d3-b63eb8badd62"]]
|
2342
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2343
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
2344
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"2b903dd5-d0a6-4e02-90d3-b63eb8badd62"}
|
2345
|
+
[1m[36mDbhero::Dataclip Load (0.3ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "2b903dd5-d0a6-4e02-90d3-b63eb8badd62"]]
|
2346
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2347
|
+
[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-23 22:29:21.288209"], ["id", 15]]
|
2348
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2349
|
+
Redirected to http://test.host/dbhero/dataclips/2b903dd5-d0a6-4e02-90d3-b63eb8badd62/edit
|
2350
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
|
2351
|
+
[1m[36mDbhero::Dataclip Load (0.3ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1[0m [["description", "updated"]]
|
2352
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2353
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2354
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2355
|
+
[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-23 22:29:21.295305"], ["updated_at", "2015-03-23 22:29:21.295305"], ["token", "5af7469d-32da-47d9-9f54-fc2a20002237"]]
|
2356
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2357
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
2358
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"5af7469d-32da-47d9-9f54-fc2a20002237"}
|
2359
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
2360
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2361
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2362
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2363
|
+
[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-23 22:29:21.301451"], ["updated_at", "2015-03-23 22:29:21.301451"], ["token", "569344ba-2a72-4f78-af86-146a839ab1a2"]]
|
2364
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2365
|
+
[1m[35mDbhero::Dataclip Load (0.3ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."id" = $1 LIMIT 1 [["id", 17]]
|
2366
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2367
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2368
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2369
|
+
[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-23 22:29:21.308005"], ["updated_at", "2015-03-23 22:29:21.308005"], ["token", "5e7f7614-54b2-43be-a7e8-a7fc8442a5ca"]]
|
2370
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2371
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
2372
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"5e7f7614-54b2-43be-a7e8-a7fc8442a5ca"}
|
2373
|
+
[1m[35mDbhero::Dataclip Load (0.2ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "5e7f7614-54b2-43be-a7e8-a7fc8442a5ca"]]
|
2374
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2375
|
+
[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-23 22:29:21.311809"], ["id", 18]]
|
2376
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2377
|
+
Redirected to http://test.host/dbhero/dataclips/5e7f7614-54b2-43be-a7e8-a7fc8442a5ca/edit
|
2378
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
|
2379
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2380
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2381
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2382
|
+
[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-23 22:29:21.318284"], ["updated_at", "2015-03-23 22:29:21.318284"], ["token", "7de19450-8533-4011-a698-d59c8c6db8de"]]
|
2383
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2384
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
2385
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"7de19450-8533-4011-a698-d59c8c6db8de"}
|
2386
|
+
[1m[36mDbhero::Dataclip Load (0.2ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "7de19450-8533-4011-a698-d59c8c6db8de"]]
|
2387
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2388
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "dbhero_dataclips" SET "description" = $1, "updated_at" = $2 WHERE "dbhero_dataclips"."id" = $3[0m [["description", "updated"], ["updated_at", "2015-03-23 22:29:21.322239"], ["id", 19]]
|
2389
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2390
|
+
Redirected to http://test.host/dbhero/dataclips/7de19450-8533-4011-a698-d59c8c6db8de/edit
|
2391
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
|
2392
|
+
[1m[36mDbhero::Dataclip Load (0.3ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1[0m [["description", "updated"]]
|
2393
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2394
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2395
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2396
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
2397
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2398
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2399
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2400
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2401
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2402
|
+
[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-23 22:29:21.347399"], ["updated_at", "2015-03-23 22:29:21.347399"], ["token", "4a43d589-5689-4898-84bd-f42d31096d72"]]
|
2403
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2404
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2405
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2406
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2407
|
+
[1m[35mSQL (0.3ms)[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-21 22:29:21.350066"], ["created_at", "2015-03-23 22:29:21.351183"], ["token", "287e8f02-cb58-4302-a86d-709b84dc4cca"]]
|
2408
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2409
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2410
|
+
[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-22 22:29:21.353688"], ["created_at", "2015-03-23 22:29:21.354452"], ["token", "048f598d-e71f-4690-b8b0-08d31c0916e9"]]
|
2411
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2412
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2413
|
+
[1m[35mSQL (0.3ms)[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-19 22:29:21.355759"], ["created_at", "2015-03-23 22:29:21.356463"], ["token", "46bc714d-44e1-435e-83d9-35ca4af5e3a3"]]
|
2414
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2415
|
+
[1m[35mDbhero::Dataclip Load (0.9ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" ORDER BY "dbhero_dataclips"."updated_at" DESC
|
2416
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2417
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2418
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2419
|
+
[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-23 22:29:21.361522"], ["updated_at", "2015-03-23 22:29:21.361522"], ["token", "7418195f-e329-4f79-b84d-e84a665fcb28"]]
|
2420
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2421
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
2422
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2423
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2424
|
+
[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-23 22:29:21.365696"], ["updated_at", "2015-03-23 22:29:21.365696"], ["token", "5e83c579-7b46-436f-b753-0b9310bcff37"]]
|
2425
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2426
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2427
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2428
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2429
|
+
[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-23 22:29:21.369527"], ["updated_at", "2015-03-23 22:29:21.369527"], ["token", "301b1d0c-b07f-47a1-b963-b404c194eb4b"]]
|
2430
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2431
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2432
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2433
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2434
|
+
[1m[36mSQL (0.2ms)[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-23 22:29:21.372879"], ["updated_at", "2015-03-23 22:29:21.372879"], ["token", "9ea2ec1c-8e63-486c-a17f-8047ae3fbaff"]]
|
2435
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2436
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2437
|
+
[1m[35m (0.5ms)[0m select 'foo'::text as bar, 'bar'::text as foo
|
2438
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2439
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2440
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2441
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2442
|
+
[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.nest from (select unnest(ARRAY[1,2,3]) as nest) foo"], ["created_at", "2015-03-23 22:29:21.377803"], ["updated_at", "2015-03-23 22:29:21.377803"], ["token", "853b49d6-54dd-402b-82c1-95de4567d0d7"]]
|
2443
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2444
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2445
|
+
[1m[35m (0.4ms)[0m select foo.nest from (select unnest(ARRAY[1,2,3]) as nest) foo
|
2446
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2447
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2448
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2449
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2450
|
+
[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-23 22:29:21.382553"], ["updated_at", "2015-03-23 22:29:21.382553"], ["token", "e5db5274-7037-459b-ac49-a7ed69b53ade"]]
|
2451
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2452
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2453
|
+
[1m[35m (0.2ms)[0m select 'foo'::text as bar, 'bar'::text as foo
|
2454
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2455
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2456
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2457
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2458
|
+
[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-23 22:29:21.401376"], ["updated_at", "2015-03-23 22:29:21.401376"], ["token", "3655158c-72bd-4974-a01e-2d89c9076793"]]
|
2459
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2460
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2461
|
+
[1m[35m (0.2ms)[0m select 'foo'::text as bar, 'bar'::text as foo
|
2462
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2463
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2464
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2465
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2466
|
+
[1m[36mSQL (0.2ms)[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-23 22:29:21.405757"], ["updated_at", "2015-03-23 22:29:21.405757"], ["token", "fa923bb4-d0e5-42f5-bc19-858ef2913c47"]]
|
2467
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2468
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2469
|
+
[1m[35mSQL (0.2ms)[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-23 22:29:21.407765"], ["updated_at", "2015-03-23 22:29:21.407765"], ["token", "aa87c7df-9b31-4bc8-b129-e559a4ac7e9e"]]
|
2470
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2471
|
+
[1m[35m (0.5ms)[0m SAVEPOINT active_record_1
|
2472
|
+
[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-23 22:29:21.410358"], ["updated_at", "2015-03-23 22:29:21.410358"], ["token", "ed70322a-d233-4f6a-8487-b85b69a2db4e"]]
|
2473
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2474
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2475
|
+
[1m[35mSQL (0.2ms)[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-23 22:29:21.412379"], ["updated_at", "2015-03-23 22:29:21.412379"], ["token", "e7698e8a-f71e-499a-a433-032883118005"]]
|
2476
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2477
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2478
|
+
[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-23 22:29:21.414313"], ["updated_at", "2015-03-23 22:29:21.414313"], ["token", "1ae2f621-c669-4513-8c39-6a82d7472f32"]]
|
2479
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2480
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2481
|
+
[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"], ["created_at", "2015-03-23 22:29:21.416891"], ["updated_at", "2015-03-23 22:29:21.416891"], ["token", "f0d3bafc-7151-4594-8f34-fd6b6a151c3d"]]
|
2482
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2483
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2484
|
+
[1m[36m (3.9ms)[0m [1mTRUNCATE table dbhero_dataclips[0m
|
2485
|
+
[1m[35m (1.3ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2486
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM "dbhero_dataclips"[0m
|
2487
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2488
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2489
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2490
|
+
[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-23 22:29:21.427829"], ["updated_at", "2015-03-23 22:29:21.427829"], ["token", "ed2deedc-0c43-4b82-9bad-218971ccd449"]]
|
2491
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2492
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2493
|
+
[1m[35mSQL (0.2ms)[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-23 22:29:21.429949"], ["updated_at", "2015-03-23 22:29:21.429949"], ["token", "1622a33d-19a3-46ac-8fa4-be598d122ee9"]]
|
2494
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2495
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2496
|
+
[1m[36mSQL (0.2ms)[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-23 22:29:21.431799"], ["updated_at", "2015-03-23 22:29:21.431799"], ["token", "4ecd6c89-d93b-4158-ad19-deb829adb33e"]]
|
2497
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2498
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2499
|
+
[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-23 22:29:21.434262"], ["updated_at", "2015-03-23 22:29:21.434262"], ["token", "cc7e0d55-6d1e-4bb4-a4e0-20d1a3d0d7ac"]]
|
2500
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2501
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2502
|
+
[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-23 22:29:21.436166"], ["updated_at", "2015-03-23 22:29:21.436166"], ["token", "977ffcf3-073f-46e3-b9e5-50c25b9aaa4b"]]
|
2503
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2504
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2505
|
+
[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-23 22:29:21.438444"], ["updated_at", "2015-03-23 22:29:21.438444"], ["token", "c1910476-5d25-4c9d-9c9c-7f6258d83df5"]]
|
2506
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2507
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2508
|
+
[1m[36m (0.4ms)[0m [1mTRUNCATE table dbhero_dataclips; commit;[0m
|
2509
|
+
PG::SyntaxError: ERROR: cannot insert multiple commands into a prepared statement
|
2510
|
+
: TRUNCATE table dbhero_dataclips; commit;
|
2511
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2512
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM "dbhero_dataclips"[0m
|
2513
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
2514
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2515
|
+
[1m[36m (142.1ms)[0m [1mDROP DATABASE IF EXISTS "dummy_test"[0m
|
2516
|
+
[1m[35m (372.6ms)[0m CREATE DATABASE "dummy_test" ENCODING = 'unicode'
|
2517
|
+
[1m[36mSQL (2.1ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
2518
|
+
[1m[35m (21.7ms)[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)
|
2519
|
+
[1m[36m (1.4ms)[0m [1mCREATE UNIQUE INDEX "index_dbhero_dataclips_on_token" ON "dbhero_dataclips" USING btree ("token")[0m
|
2520
|
+
[1m[35m (1.7ms)[0m CREATE INDEX "index_dbhero_dataclips_on_user" ON "dbhero_dataclips" USING btree ("user")
|
2521
|
+
[1m[36m (3.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
2522
|
+
[1m[35m (1.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
2523
|
+
[1m[36m (0.4ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2524
|
+
[1m[35m (3.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150323172444')
|
2525
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.6ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
2526
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2527
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
2528
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
2529
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2530
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2531
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
2532
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/index.html.slim within layouts/dbhero/application (0.4ms)
|
2533
|
+
Completed 200 OK in 18ms (Views: 17.3ms | ActiveRecord: 0.0ms)
|
2534
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2535
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2536
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
2537
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/index.html.slim within layouts/dbhero/application (0.2ms)
|
2538
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
2539
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2540
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2541
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
2542
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
2543
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
2544
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2545
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
2546
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/index.html.slim within layouts/dbhero/application (0.3ms)
|
2547
|
+
Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
2548
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2549
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2550
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
2551
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
2552
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2553
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2554
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
2555
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/new.html.slim within layouts/dbhero/application (0.2ms)
|
2556
|
+
Completed 200 OK in 20ms (Views: 3.7ms | ActiveRecord: 7.8ms)
|
2557
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2558
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2559
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
2560
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/new.html.slim within layouts/dbhero/application (0.2ms)
|
2561
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
2562
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2563
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2564
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
2565
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
2566
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2567
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2568
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
2569
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/new.html.slim within layouts/dbhero/application (0.2ms)
|
2570
|
+
Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
2571
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2572
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2573
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
2574
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
2575
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
2576
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2577
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2578
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
2579
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
2580
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2581
|
+
[1m[36mSQL (1.1ms)[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-23 23:21:29.318587"], ["updated_at", "2015-03-23 23:21:29.318587"], ["token", "5845aa9a-ef67-4ad3-8140-1a9a25dae99f"]]
|
2582
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2583
|
+
Redirected to http://test.host/dbhero/dataclips/5845aa9a-ef67-4ad3-8140-1a9a25dae99f/edit
|
2584
|
+
Completed 302 Found in 23ms (ActiveRecord: 1.7ms)
|
2585
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2586
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2587
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
2588
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
2589
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2590
|
+
[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-23 23:21:29.340716"], ["updated_at", "2015-03-23 23:21:29.340716"], ["token", "678e9c2c-4db2-4679-9d5d-51eb205dab3a"]]
|
2591
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2592
|
+
Redirected to http://test.host/dbhero/dataclips/678e9c2c-4db2-4679-9d5d-51eb205dab3a/edit
|
2593
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
|
2594
|
+
[1m[35mDbhero::Dataclip Load (0.7ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "foo bar"]]
|
2595
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2596
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2597
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
2598
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
2599
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2600
|
+
[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-23 23:21:29.361958"], ["updated_at", "2015-03-23 23:21:29.361958"], ["token", "9965129b-0acb-4c90-bd8f-75962331e1a6"]]
|
2601
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2602
|
+
Redirected to http://test.host/dbhero/dataclips/9965129b-0acb-4c90-bd8f-75962331e1a6/edit
|
2603
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
|
2604
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2605
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2606
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
2607
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
2608
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2609
|
+
[1m[36mSQL (0.3ms)[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-23 23:21:29.371321"], ["updated_at", "2015-03-23 23:21:29.371321"], ["token", "49db9e4d-4882-41aa-91c7-07a120200416"]]
|
2610
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2611
|
+
Redirected to http://test.host/dbhero/dataclips/49db9e4d-4882-41aa-91c7-07a120200416/edit
|
2612
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
|
2613
|
+
[1m[36mDbhero::Dataclip Load (0.3ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1[0m [["description", "foo bar"]]
|
2614
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2615
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2616
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
2617
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
2618
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
2619
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2620
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2621
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
2622
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar disabled", "raw_query"=>"select 'foo' as bar"}}
|
2623
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2624
|
+
[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-23 23:21:29.387145"], ["updated_at", "2015-03-23 23:21:29.387145"], ["token", "21804c92-e00f-4824-bfa4-8e5d6d8652dd"]]
|
2625
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2626
|
+
Redirected to http://test.host/dbhero/dataclips/21804c92-e00f-4824-bfa4-8e5d6d8652dd/edit
|
2627
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
2628
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2629
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2630
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
2631
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar disabled", "raw_query"=>"select 'foo' as bar"}}
|
2632
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2633
|
+
[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", "foo bar disabled"], ["raw_query", "select 'foo' as bar"], ["created_at", "2015-03-23 23:21:29.395405"], ["updated_at", "2015-03-23 23:21:29.395405"], ["token", "26f67d6e-51a3-416f-bc51-82c40cfc8c30"]]
|
2634
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2635
|
+
Redirected to http://test.host/dbhero/dataclips/26f67d6e-51a3-416f-bc51-82c40cfc8c30/edit
|
2636
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
|
2637
|
+
[1m[35mDbhero::Dataclip Load (0.3ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "foo bar disabled"]]
|
2638
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2639
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2640
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2641
|
+
[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-23 23:21:29.402573"], ["updated_at", "2015-03-23 23:21:29.402573"], ["token", "7fdbd271-aaa9-48e2-b9b3-5bd439e85d3e"]]
|
2642
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2643
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
2644
|
+
Parameters: {"id"=>"7fdbd271-aaa9-48e2-b9b3-5bd439e85d3e"}
|
2645
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
2646
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2647
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2648
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2649
|
+
[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-23 23:21:29.410115"], ["updated_at", "2015-03-23 23:21:29.410115"], ["token", "c189db30-9212-4cff-a07b-385b06760df0"]]
|
2650
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2651
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
2652
|
+
Parameters: {"id"=>"c189db30-9212-4cff-a07b-385b06760df0"}
|
2653
|
+
[1m[36mDbhero::Dataclip Load (0.4ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "c189db30-9212-4cff-a07b-385b06760df0"]]
|
2654
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2655
|
+
[1m[36m (2.6ms)[0m [1mselect 'dummy_foo' as dummy_bar, vesion() as db_version[0m
|
2656
|
+
PG::UndefinedFunction: ERROR: function vesion() does not exist
|
2657
|
+
LINE 1: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
2658
|
+
^
|
2659
|
+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
2660
|
+
: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
2661
|
+
[1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2662
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/edit.html.slim within layouts/dbhero/application (0.3ms)
|
2663
|
+
Completed 200 OK in 9ms (Views: 3.6ms | ActiveRecord: 3.3ms)
|
2664
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2665
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2666
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2667
|
+
[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-23 23:21:29.425903"], ["updated_at", "2015-03-23 23:21:29.425903"], ["token", "9bd33610-bab8-4f5c-ac5a-4f648fd78ec7"]]
|
2668
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2669
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
2670
|
+
Parameters: {"id"=>"9bd33610-bab8-4f5c-ac5a-4f648fd78ec7"}
|
2671
|
+
[1m[35mDbhero::Dataclip Load (0.4ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "9bd33610-bab8-4f5c-ac5a-4f648fd78ec7"]]
|
2672
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2673
|
+
[1m[35m (0.3ms)[0m select 'dummy_foo' as dummy_bar, vesion() as db_version
|
2674
|
+
PG::UndefinedFunction: ERROR: function vesion() does not exist
|
2675
|
+
LINE 1: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
2676
|
+
^
|
2677
|
+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
2678
|
+
: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
2679
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2680
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/edit.html.slim within layouts/dbhero/application (0.2ms)
|
2681
|
+
Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.9ms)
|
2682
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2683
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2684
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2685
|
+
[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-23 23:21:29.435742"], ["updated_at", "2015-03-23 23:21:29.435742"], ["token", "2dcc6578-25c8-4542-8185-5d885690e050"]]
|
2686
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2687
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
2688
|
+
Parameters: {"id"=>"2dcc6578-25c8-4542-8185-5d885690e050"}
|
2689
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
2690
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
2691
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2692
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2693
|
+
[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-23 23:21:29.443027"], ["updated_at", "2015-03-23 23:21:29.443027"], ["token", "159de6fc-5b69-4cf5-9371-66d2dd85c020"]]
|
2694
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2695
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
2696
|
+
Parameters: {"id"=>"159de6fc-5b69-4cf5-9371-66d2dd85c020"}
|
2697
|
+
[1m[35mDbhero::Dataclip Load (0.3ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "159de6fc-5b69-4cf5-9371-66d2dd85c020"]]
|
2698
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2699
|
+
[1m[35m (0.6ms)[0m select 'dummy_foo' as dummy_bar, vesion() as db_version
|
2700
|
+
PG::UndefinedFunction: ERROR: function vesion() does not exist
|
2701
|
+
LINE 1: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
2702
|
+
^
|
2703
|
+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
2704
|
+
: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
2705
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2706
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/edit.html.slim within layouts/dbhero/application (0.2ms)
|
2707
|
+
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 1.2ms)
|
2708
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2709
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2710
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
2711
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
2712
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
2713
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2714
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2715
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2716
|
+
[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-23 23:21:29.456513"], ["updated_at", "2015-03-23 23:21:29.456513"], ["token", "b55d8ac5-2161-4ba1-b7b9-cabf84bb4fd3"]]
|
2717
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2718
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
2719
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"b55d8ac5-2161-4ba1-b7b9-cabf84bb4fd3"}
|
2720
|
+
[1m[36mDbhero::Dataclip Load (0.3ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "b55d8ac5-2161-4ba1-b7b9-cabf84bb4fd3"]]
|
2721
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2722
|
+
[1m[36mSQL (1.0ms)[0m [1mUPDATE "dbhero_dataclips" SET "description" = $1, "updated_at" = $2 WHERE "dbhero_dataclips"."id" = $3[0m [["description", "updated"], ["updated_at", "2015-03-23 23:21:29.460635"], ["id", 12]]
|
2723
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2724
|
+
Redirected to http://test.host/dbhero/dataclips/b55d8ac5-2161-4ba1-b7b9-cabf84bb4fd3/edit
|
2725
|
+
Completed 302 Found in 11ms (ActiveRecord: 1.6ms)
|
2726
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2727
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2728
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2729
|
+
[1m[35mSQL (0.9ms)[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-23 23:21:29.474458"], ["updated_at", "2015-03-23 23:21:29.474458"], ["token", "dfe19292-8fe5-4726-ad2d-21face84ea14"]]
|
2730
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2731
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
2732
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"dfe19292-8fe5-4726-ad2d-21face84ea14"}
|
2733
|
+
[1m[35mDbhero::Dataclip Load (0.4ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "dfe19292-8fe5-4726-ad2d-21face84ea14"]]
|
2734
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2735
|
+
[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-23 23:21:29.479607"], ["id", 13]]
|
2736
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2737
|
+
Redirected to http://test.host/dbhero/dataclips/dfe19292-8fe5-4726-ad2d-21face84ea14/edit
|
2738
|
+
Completed 302 Found in 4ms (ActiveRecord: 1.0ms)
|
2739
|
+
[1m[35mDbhero::Dataclip Load (0.4ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "updated"]]
|
2740
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2741
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2742
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2743
|
+
[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-23 23:21:29.488080"], ["updated_at", "2015-03-23 23:21:29.488080"], ["token", "c2900585-baba-410d-9d99-d51e5805551a"]]
|
2744
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2745
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
2746
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"c2900585-baba-410d-9d99-d51e5805551a"}
|
2747
|
+
[1m[35mDbhero::Dataclip Load (0.4ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "c2900585-baba-410d-9d99-d51e5805551a"]]
|
2748
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2749
|
+
[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-23 23:21:29.492606"], ["id", 14]]
|
2750
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2751
|
+
Redirected to http://test.host/dbhero/dataclips/c2900585-baba-410d-9d99-d51e5805551a/edit
|
2752
|
+
Completed 302 Found in 4ms (ActiveRecord: 1.1ms)
|
2753
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2754
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2755
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2756
|
+
[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-23 23:21:29.500219"], ["updated_at", "2015-03-23 23:21:29.500219"], ["token", "957c805d-fa12-461a-b564-34d24bfe4fdc"]]
|
2757
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2758
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
2759
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"957c805d-fa12-461a-b564-34d24bfe4fdc"}
|
2760
|
+
[1m[36mDbhero::Dataclip Load (0.2ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "957c805d-fa12-461a-b564-34d24bfe4fdc"]]
|
2761
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2762
|
+
[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-23 23:21:29.504690"], ["id", 15]]
|
2763
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2764
|
+
Redirected to http://test.host/dbhero/dataclips/957c805d-fa12-461a-b564-34d24bfe4fdc/edit
|
2765
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
|
2766
|
+
[1m[36mDbhero::Dataclip Load (0.3ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1[0m [["description", "updated"]]
|
2767
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2768
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
2769
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2770
|
+
[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-23 23:21:29.512357"], ["updated_at", "2015-03-23 23:21:29.512357"], ["token", "bf26a110-d424-4617-9889-0925bf3ab8a7"]]
|
2771
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2772
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
2773
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"bf26a110-d424-4617-9889-0925bf3ab8a7"}
|
2774
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
2775
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2776
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2777
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2778
|
+
[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-23 23:21:29.518951"], ["updated_at", "2015-03-23 23:21:29.518951"], ["token", "fd77d0ca-7736-4270-8985-05856f3c88ca"]]
|
2779
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2780
|
+
[1m[35mDbhero::Dataclip Load (0.3ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."id" = $1 LIMIT 1 [["id", 17]]
|
2781
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2782
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2783
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2784
|
+
[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-23 23:21:29.525922"], ["updated_at", "2015-03-23 23:21:29.525922"], ["token", "db111dff-bab4-450c-af4f-6f9f561182e1"]]
|
2785
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2786
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
2787
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"db111dff-bab4-450c-af4f-6f9f561182e1"}
|
2788
|
+
[1m[35mDbhero::Dataclip Load (0.2ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "db111dff-bab4-450c-af4f-6f9f561182e1"]]
|
2789
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2790
|
+
[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-23 23:21:29.529722"], ["id", 18]]
|
2791
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2792
|
+
Redirected to http://test.host/dbhero/dataclips/db111dff-bab4-450c-af4f-6f9f561182e1/edit
|
2793
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
|
2794
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2795
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2796
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2797
|
+
[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-23 23:21:29.536427"], ["updated_at", "2015-03-23 23:21:29.536427"], ["token", "019e21a2-4461-446f-bb35-5a50e4c0819c"]]
|
2798
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2799
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
2800
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"019e21a2-4461-446f-bb35-5a50e4c0819c"}
|
2801
|
+
[1m[36mDbhero::Dataclip Load (0.2ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "019e21a2-4461-446f-bb35-5a50e4c0819c"]]
|
2802
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2803
|
+
[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-23 23:21:29.540178"], ["id", 19]]
|
2804
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2805
|
+
Redirected to http://test.host/dbhero/dataclips/019e21a2-4461-446f-bb35-5a50e4c0819c/edit
|
2806
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
|
2807
|
+
[1m[36mDbhero::Dataclip Load (0.3ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1[0m [["description", "updated"]]
|
2808
|
+
[1m[35m (0.7ms)[0m ROLLBACK
|
2809
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2810
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2811
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2812
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2813
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2814
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
2815
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2816
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2817
|
+
[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-23 23:21:29.569355"], ["updated_at", "2015-03-23 23:21:29.569355"], ["token", "cfaa484b-94af-42de-8e56-45e8e80750cd"]]
|
2818
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2819
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2820
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2821
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2822
|
+
[1m[35mSQL (0.3ms)[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-21 23:21:29.571945"], ["created_at", "2015-03-23 23:21:29.573928"], ["token", "9c9e348b-a335-43bc-9e36-6911ce2c1c24"]]
|
2823
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2824
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2825
|
+
[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-22 23:21:29.575615"], ["created_at", "2015-03-23 23:21:29.576357"], ["token", "3e0c403f-4f10-4032-8942-5839a1a5333e"]]
|
2826
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2827
|
+
[1m[36m (0.7ms)[0m [1mSAVEPOINT active_record_1[0m
|
2828
|
+
[1m[35mSQL (0.5ms)[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-19 23:21:29.577719"], ["created_at", "2015-03-23 23:21:29.579657"], ["token", "d7cd9da8-e52a-4e4a-9516-9e29a2fa4877"]]
|
2829
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2830
|
+
[1m[35mDbhero::Dataclip Load (1.2ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" ORDER BY "dbhero_dataclips"."updated_at" DESC
|
2831
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2832
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2833
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2834
|
+
[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-23 23:21:29.587088"], ["updated_at", "2015-03-23 23:21:29.587088"], ["token", "9d7cffa0-a3a7-462d-92ba-93cb1e2f3d2e"]]
|
2835
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2836
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2837
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2838
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2839
|
+
[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", "title\ndescription\nfoo"], ["raw_query", "select 'dummy_foo' as dummy_bar, vesion() as db_version"], ["created_at", "2015-03-23 23:21:29.591856"], ["updated_at", "2015-03-23 23:21:29.591856"], ["token", "719dce01-3435-46f6-891b-e29dd6de3e1b"]]
|
2840
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2841
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2842
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2843
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2844
|
+
[1m[35mSQL (0.2ms)[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-23 23:21:29.595289"], ["updated_at", "2015-03-23 23:21:29.595289"], ["token", "a1ccf8fc-3e61-4155-8843-3c3bf1cdf55a"]]
|
2845
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2846
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2847
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2848
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2849
|
+
[1m[36mSQL (0.2ms)[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-23 23:21:29.598422"], ["updated_at", "2015-03-23 23:21:29.598422"], ["token", "7cc7051d-b860-450e-892b-86240e925fb7"]]
|
2850
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2851
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2852
|
+
[1m[35m (0.2ms)[0m select 'foo'::text as bar, 'bar'::text as foo
|
2853
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2854
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2855
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
2856
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2857
|
+
[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 foo.nest from (select unnest(ARRAY[1,2,3]) as nest) foo"], ["created_at", "2015-03-23 23:21:29.604085"], ["updated_at", "2015-03-23 23:21:29.604085"], ["token", "a6dba287-518d-4463-b067-9cb40902312d"]]
|
2858
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2859
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2860
|
+
[1m[35m (0.4ms)[0m select foo.nest from (select unnest(ARRAY[1,2,3]) as nest) foo
|
2861
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2862
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2863
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2864
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2865
|
+
[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-23 23:21:29.609746"], ["updated_at", "2015-03-23 23:21:29.609746"], ["token", "c1146353-75b1-42e5-9543-dc5e827a9a8b"]]
|
2866
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2867
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2868
|
+
[1m[35m (0.2ms)[0m select 'foo'::text as bar, 'bar'::text as foo
|
2869
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2870
|
+
[1m[35m (0.7ms)[0m ROLLBACK
|
2871
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2872
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2873
|
+
[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-23 23:21:29.629731"], ["updated_at", "2015-03-23 23:21:29.629731"], ["token", "e7688322-b597-43dd-89ec-4f41a4b5e8b9"]]
|
2874
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2875
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2876
|
+
[1m[35m (0.2ms)[0m select 'foo'::text as bar, 'bar'::text as foo
|
2877
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2878
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2879
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2880
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2881
|
+
[1m[36mSQL (0.2ms)[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-23 23:21:29.633922"], ["updated_at", "2015-03-23 23:21:29.633922"], ["token", "aba6fd72-cf37-4b10-b5c1-2359a924350c"]]
|
2882
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2883
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2884
|
+
[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-23 23:21:29.635910"], ["updated_at", "2015-03-23 23:21:29.635910"], ["token", "73c9e39e-3c29-4d13-b8b3-207bd70dbbf7"]]
|
2885
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2886
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2887
|
+
[1m[36mSQL (0.2ms)[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-23 23:21:29.639312"], ["updated_at", "2015-03-23 23:21:29.639312"], ["token", "16c46775-40b1-4748-9671-b1c27e13aa01"]]
|
2888
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2889
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2890
|
+
[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-23 23:21:29.641194"], ["updated_at", "2015-03-23 23:21:29.641194"], ["token", "dfb15e95-55ce-48ef-8b9f-63b3fa9006dd"]]
|
2891
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2892
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2893
|
+
[1m[36mSQL (0.2ms)[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-23 23:21:29.643362"], ["updated_at", "2015-03-23 23:21:29.643362"], ["token", "cfbbd6c5-242c-4a19-a5e3-889c81e6db63"]]
|
2894
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2895
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2896
|
+
[1m[35mSQL (0.2ms)[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-23 23:21:29.645509"], ["updated_at", "2015-03-23 23:21:29.645509"], ["token", "edd3fdb3-d4f4-4df3-a961-583116e39986"]]
|
2897
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2898
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2899
|
+
[1m[36m (4.9ms)[0m [1mTRUNCATE table dbhero_dataclips[0m
|
2900
|
+
[1m[35m (1.3ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2901
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM "dbhero_dataclips"[0m
|
2902
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2903
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2904
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2905
|
+
[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-23 23:21:29.657245"], ["updated_at", "2015-03-23 23:21:29.657245"], ["token", "b8e78831-4e0f-435a-bd2e-bf07a3392cba"]]
|
2906
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2907
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2908
|
+
[1m[35mSQL (0.2ms)[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-23 23:21:29.659612"], ["updated_at", "2015-03-23 23:21:29.659612"], ["token", "7311648e-b3fd-4971-bf8b-3184647b9993"]]
|
2909
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2910
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2911
|
+
[1m[36mSQL (0.2ms)[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-23 23:21:29.662983"], ["updated_at", "2015-03-23 23:21:29.662983"], ["token", "1f93bfaa-7484-4222-87cb-b759072ce619"]]
|
2912
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2913
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2914
|
+
[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-23 23:21:29.665027"], ["updated_at", "2015-03-23 23:21:29.665027"], ["token", "b09ad684-b949-4db4-9f92-c1706ba25b2f"]]
|
2915
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2916
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2917
|
+
[1m[36mSQL (0.2ms)[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-23 23:21:29.667615"], ["updated_at", "2015-03-23 23:21:29.667615"], ["token", "9882161a-5747-4f67-9688-c7cee80b704a"]]
|
2918
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2919
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2920
|
+
[1m[35mSQL (0.2ms)[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-23 23:21:29.669486"], ["updated_at", "2015-03-23 23:21:29.669486"], ["token", "2edcfd38-fdd5-4366-8895-db0c27ca75fd"]]
|
2921
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2922
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2923
|
+
[1m[36m (0.4ms)[0m [1mTRUNCATE table dbhero_dataclips; commit;[0m
|
2924
|
+
PG::SyntaxError: ERROR: cannot insert multiple commands into a prepared statement
|
2925
|
+
: TRUNCATE table dbhero_dataclips; commit;
|
2926
|
+
[1m[35m (0.3ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2927
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "dbhero_dataclips"[0m
|
2928
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2929
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2930
|
+
[1m[36m (134.8ms)[0m [1mDROP DATABASE IF EXISTS "dummy_test"[0m
|
2931
|
+
[1m[35m (418.6ms)[0m CREATE DATABASE "dummy_test" ENCODING = 'unicode'
|
2932
|
+
[1m[36mSQL (0.4ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
2933
|
+
[1m[35m (13.1ms)[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)
|
2934
|
+
[1m[36m (3.6ms)[0m [1mCREATE UNIQUE INDEX "index_dbhero_dataclips_on_token" ON "dbhero_dataclips" USING btree ("token")[0m
|
2935
|
+
[1m[35m (1.4ms)[0m CREATE INDEX "index_dbhero_dataclips_on_user" ON "dbhero_dataclips" USING btree ("user")
|
2936
|
+
[1m[36m (6.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
2937
|
+
[1m[35m (5.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
2938
|
+
[1m[36m (1.6ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2939
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150323172444')
|
2940
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.9ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
2941
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2942
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
2943
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
2944
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2945
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2946
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
2947
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/index.html.slim within layouts/dbhero/application (0.3ms)
|
2948
|
+
Completed 200 OK in 20ms (Views: 19.2ms | ActiveRecord: 0.0ms)
|
2949
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2950
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2951
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
2952
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/index.html.slim within layouts/dbhero/application (0.2ms)
|
2953
|
+
Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
2954
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2955
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2956
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
2957
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
2958
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2959
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2960
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
2961
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/index.html.slim within layouts/dbhero/application (0.2ms)
|
2962
|
+
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
2963
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2964
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
2966
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
2967
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2968
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2969
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
2970
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/new.html.slim within layouts/dbhero/application (2.4ms)
|
2971
|
+
Completed 200 OK in 66ms (Views: 16.7ms | ActiveRecord: 20.4ms)
|
2972
|
+
[1m[35m (0.7ms)[0m ROLLBACK
|
2973
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
2974
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
2975
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/new.html.slim within layouts/dbhero/application (0.6ms)
|
2976
|
+
Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms)
|
2977
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
2978
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
2979
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
2980
|
+
Completed 404 Not Found in 2ms (ActiveRecord: 0.0ms)
|
2981
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
2982
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
2983
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
2984
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/new.html.slim within layouts/dbhero/application (1.7ms)
|
2985
|
+
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms)
|
2986
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
2987
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2988
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
2989
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
2990
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
2991
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
2992
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2993
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
2994
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
2995
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
2996
|
+
[1m[36mSQL (7.7ms)[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-23 23:34:59.131595"], ["updated_at", "2015-03-23 23:34:59.131595"], ["token", "e9fde8d5-9398-42c9-aedf-35e6148ae882"]]
|
2997
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2998
|
+
Redirected to http://test.host/dbhero/dataclips/e9fde8d5-9398-42c9-aedf-35e6148ae882/edit
|
2999
|
+
Completed 302 Found in 43ms (ActiveRecord: 8.5ms)
|
3000
|
+
[1m[36m (0.8ms)[0m [1mROLLBACK[0m
|
3001
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3002
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
3003
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
3004
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3005
|
+
[1m[35mSQL (0.7ms)[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-23 23:34:59.171182"], ["updated_at", "2015-03-23 23:34:59.171182"], ["token", "02844c09-9783-4550-b301-6e1772af75e6"]]
|
3006
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3007
|
+
Redirected to http://test.host/dbhero/dataclips/02844c09-9783-4550-b301-6e1772af75e6/edit
|
3008
|
+
Completed 302 Found in 7ms (ActiveRecord: 1.1ms)
|
3009
|
+
[1m[35mDbhero::Dataclip Load (0.6ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "foo bar"]]
|
3010
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3011
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3012
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
3013
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
3014
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3015
|
+
[1m[35mSQL (1.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-23 23:34:59.198819"], ["updated_at", "2015-03-23 23:34:59.198819"], ["token", "eef566ae-6cc1-43ce-ae1d-4ae7a4b482a1"]]
|
3016
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3017
|
+
Redirected to http://test.host/dbhero/dataclips/eef566ae-6cc1-43ce-ae1d-4ae7a4b482a1/edit
|
3018
|
+
Completed 302 Found in 7ms (ActiveRecord: 1.8ms)
|
3019
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3020
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3021
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
3022
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
3023
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3024
|
+
[1m[36mSQL (0.5ms)[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-23 23:34:59.211076"], ["updated_at", "2015-03-23 23:34:59.211076"], ["token", "6220d59f-c25b-4243-a09b-46981c0eb94b"]]
|
3025
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3026
|
+
Redirected to http://test.host/dbhero/dataclips/6220d59f-c25b-4243-a09b-46981c0eb94b/edit
|
3027
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
|
3028
|
+
[1m[36mDbhero::Dataclip Load (0.4ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1[0m [["description", "foo bar"]]
|
3029
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3030
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3031
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
3032
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
3033
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
3034
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3035
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3036
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
3037
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar disabled", "raw_query"=>"select 'foo' as bar"}}
|
3038
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3039
|
+
[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-23 23:34:59.229466"], ["updated_at", "2015-03-23 23:34:59.229466"], ["token", "d6b3e329-302b-4bd3-8602-c7e558f985ca"]]
|
3040
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3041
|
+
Redirected to http://test.host/dbhero/dataclips/d6b3e329-302b-4bd3-8602-c7e558f985ca/edit
|
3042
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
|
3043
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
3044
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3045
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
3046
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar disabled", "raw_query"=>"select 'foo' as bar"}}
|
3047
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3048
|
+
[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", "foo bar disabled"], ["raw_query", "select 'foo' as bar"], ["created_at", "2015-03-23 23:34:59.238472"], ["updated_at", "2015-03-23 23:34:59.238472"], ["token", "66aea2f9-663f-465f-b09f-dcd6e9deacc8"]]
|
3049
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3050
|
+
Redirected to http://test.host/dbhero/dataclips/66aea2f9-663f-465f-b09f-dcd6e9deacc8/edit
|
3051
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
|
3052
|
+
[1m[35mDbhero::Dataclip Load (0.4ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "foo bar disabled"]]
|
3053
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3054
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3055
|
+
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
3056
|
+
[1m[35mSQL (0.9ms)[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-23 23:34:59.247491"], ["updated_at", "2015-03-23 23:34:59.247491"], ["token", "e3651468-1c5d-4476-b606-ebb9d9b8168e"]]
|
3057
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3058
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
3059
|
+
Parameters: {"id"=>"e3651468-1c5d-4476-b606-ebb9d9b8168e"}
|
3060
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
3061
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3062
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3063
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3064
|
+
[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 'dummy_foo' as dummy_bar, vesion() as db_version"], ["created_at", "2015-03-23 23:34:59.255264"], ["updated_at", "2015-03-23 23:34:59.255264"], ["token", "70510fb7-33fc-4a22-9fa4-f7044eae3279"]]
|
3065
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
3066
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
3067
|
+
Parameters: {"id"=>"70510fb7-33fc-4a22-9fa4-f7044eae3279"}
|
3068
|
+
[1m[36mDbhero::Dataclip Load (0.4ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "70510fb7-33fc-4a22-9fa4-f7044eae3279"]]
|
3069
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3070
|
+
[1m[36m (0.5ms)[0m [1mselect 'dummy_foo' as dummy_bar, vesion() as db_version[0m
|
3071
|
+
PG::UndefinedFunction: ERROR: function vesion() does not exist
|
3072
|
+
LINE 1: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
3073
|
+
^
|
3074
|
+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
3075
|
+
: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
3076
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
3077
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/edit.html.slim within layouts/dbhero/application (0.3ms)
|
3078
|
+
Completed 200 OK in 8ms (Views: 4.2ms | ActiveRecord: 1.1ms)
|
3079
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3080
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3081
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3082
|
+
[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-23 23:34:59.272042"], ["updated_at", "2015-03-23 23:34:59.272042"], ["token", "f939d6fe-601a-4267-9cff-fff6292339e8"]]
|
3083
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3084
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
3085
|
+
Parameters: {"id"=>"f939d6fe-601a-4267-9cff-fff6292339e8"}
|
3086
|
+
[1m[35mDbhero::Dataclip Load (0.4ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "f939d6fe-601a-4267-9cff-fff6292339e8"]]
|
3087
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3088
|
+
[1m[35m (0.5ms)[0m select 'dummy_foo' as dummy_bar, vesion() as db_version
|
3089
|
+
PG::UndefinedFunction: ERROR: function vesion() does not exist
|
3090
|
+
LINE 1: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
3091
|
+
^
|
3092
|
+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
3093
|
+
: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
3094
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
3095
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/edit.html.slim within layouts/dbhero/application (0.2ms)
|
3096
|
+
Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 1.1ms)
|
3097
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3098
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3099
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3100
|
+
[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-23 23:34:59.283783"], ["updated_at", "2015-03-23 23:34:59.283783"], ["token", "36dd5be3-4d33-44ce-8d21-bef58158c54b"]]
|
3101
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3102
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
3103
|
+
Parameters: {"id"=>"36dd5be3-4d33-44ce-8d21-bef58158c54b"}
|
3104
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
3105
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3106
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3107
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3108
|
+
[1m[35mSQL (0.8ms)[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-23 23:34:59.290374"], ["updated_at", "2015-03-23 23:34:59.290374"], ["token", "8d338289-659c-4734-8b29-e009e2bf0137"]]
|
3109
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3110
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
3111
|
+
Parameters: {"id"=>"8d338289-659c-4734-8b29-e009e2bf0137"}
|
3112
|
+
[1m[35mDbhero::Dataclip Load (0.4ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "8d338289-659c-4734-8b29-e009e2bf0137"]]
|
3113
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3114
|
+
[1m[35m (0.3ms)[0m select 'dummy_foo' as dummy_bar, vesion() as db_version
|
3115
|
+
PG::UndefinedFunction: ERROR: function vesion() does not exist
|
3116
|
+
LINE 1: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
3117
|
+
^
|
3118
|
+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
3119
|
+
: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
3120
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
3121
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/edit.html.slim within layouts/dbhero/application (0.2ms)
|
3122
|
+
Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.9ms)
|
3123
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3124
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3125
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
3126
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
3127
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
3128
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3129
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3130
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3131
|
+
[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-23 23:34:59.306300"], ["updated_at", "2015-03-23 23:34:59.306300"], ["token", "7304fd61-9e8a-4ece-885d-db2b1e43ae3e"]]
|
3132
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3133
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
3134
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"7304fd61-9e8a-4ece-885d-db2b1e43ae3e"}
|
3135
|
+
[1m[36mDbhero::Dataclip Load (0.4ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "7304fd61-9e8a-4ece-885d-db2b1e43ae3e"]]
|
3136
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3137
|
+
[1m[36mSQL (1.0ms)[0m [1mUPDATE "dbhero_dataclips" SET "description" = $1, "updated_at" = $2 WHERE "dbhero_dataclips"."id" = $3[0m [["description", "updated"], ["updated_at", "2015-03-23 23:34:59.311632"], ["id", 12]]
|
3138
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3139
|
+
Redirected to http://test.host/dbhero/dataclips/7304fd61-9e8a-4ece-885d-db2b1e43ae3e/edit
|
3140
|
+
Completed 302 Found in 13ms (ActiveRecord: 1.7ms)
|
3141
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3142
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3143
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3144
|
+
[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-23 23:34:59.325459"], ["updated_at", "2015-03-23 23:34:59.325459"], ["token", "c4771d66-6b0d-4a6e-9ac1-eccc7c87e5ff"]]
|
3145
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3146
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
3147
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"c4771d66-6b0d-4a6e-9ac1-eccc7c87e5ff"}
|
3148
|
+
[1m[35mDbhero::Dataclip Load (0.4ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "c4771d66-6b0d-4a6e-9ac1-eccc7c87e5ff"]]
|
3149
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3150
|
+
[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-23 23:34:59.330981"], ["id", 13]]
|
3151
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3152
|
+
Redirected to http://test.host/dbhero/dataclips/c4771d66-6b0d-4a6e-9ac1-eccc7c87e5ff/edit
|
3153
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
|
3154
|
+
[1m[35mDbhero::Dataclip Load (0.3ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "updated"]]
|
3155
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3156
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3157
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3158
|
+
[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-23 23:34:59.339171"], ["updated_at", "2015-03-23 23:34:59.339171"], ["token", "25cdd2b0-a445-4ec9-bc33-4fe1e33f7b63"]]
|
3159
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3160
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
3161
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"25cdd2b0-a445-4ec9-bc33-4fe1e33f7b63"}
|
3162
|
+
[1m[35mDbhero::Dataclip Load (0.5ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "25cdd2b0-a445-4ec9-bc33-4fe1e33f7b63"]]
|
3163
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3164
|
+
[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-23 23:34:59.344413"], ["id", 14]]
|
3165
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3166
|
+
Redirected to http://test.host/dbhero/dataclips/25cdd2b0-a445-4ec9-bc33-4fe1e33f7b63/edit
|
3167
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.2ms)
|
3168
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3169
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3170
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3171
|
+
[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-23 23:34:59.352751"], ["updated_at", "2015-03-23 23:34:59.352751"], ["token", "81508503-00f3-461f-ade3-bf909ab36b56"]]
|
3172
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3173
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
3174
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"81508503-00f3-461f-ade3-bf909ab36b56"}
|
3175
|
+
[1m[36mDbhero::Dataclip Load (0.2ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "81508503-00f3-461f-ade3-bf909ab36b56"]]
|
3176
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3177
|
+
[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-23 23:34:59.357062"], ["id", 15]]
|
3178
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3179
|
+
Redirected to http://test.host/dbhero/dataclips/81508503-00f3-461f-ade3-bf909ab36b56/edit
|
3180
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
|
3181
|
+
[1m[36mDbhero::Dataclip Load (0.4ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1[0m [["description", "updated"]]
|
3182
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
3183
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3184
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3185
|
+
[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-23 23:34:59.366072"], ["updated_at", "2015-03-23 23:34:59.366072"], ["token", "74a418cc-47d9-46cf-836e-95152fa81072"]]
|
3186
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3187
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
3188
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"74a418cc-47d9-46cf-836e-95152fa81072"}
|
3189
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
3190
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3191
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3192
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3193
|
+
[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-23 23:34:59.374126"], ["updated_at", "2015-03-23 23:34:59.374126"], ["token", "1af5a317-8ad8-4749-9a8e-9e5e4cad81d5"]]
|
3194
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3195
|
+
[1m[35mDbhero::Dataclip Load (0.3ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."id" = $1 LIMIT 1 [["id", 17]]
|
3196
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3197
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3198
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3199
|
+
[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-23 23:34:59.381210"], ["updated_at", "2015-03-23 23:34:59.381210"], ["token", "57ab5f1c-fc51-44d5-8489-deb176bf3774"]]
|
3200
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3201
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
3202
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"57ab5f1c-fc51-44d5-8489-deb176bf3774"}
|
3203
|
+
[1m[35mDbhero::Dataclip Load (0.3ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "57ab5f1c-fc51-44d5-8489-deb176bf3774"]]
|
3204
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3205
|
+
[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-23 23:34:59.387663"], ["id", 18]]
|
3206
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3207
|
+
Redirected to http://test.host/dbhero/dataclips/57ab5f1c-fc51-44d5-8489-deb176bf3774/edit
|
3208
|
+
Completed 302 Found in 4ms (ActiveRecord: 1.0ms)
|
3209
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3210
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3211
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3212
|
+
[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-23 23:34:59.393489"], ["updated_at", "2015-03-23 23:34:59.393489"], ["token", "26f871e4-e410-4173-b5e6-999a971dc4af"]]
|
3213
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3214
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
3215
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"26f871e4-e410-4173-b5e6-999a971dc4af"}
|
3216
|
+
[1m[36mDbhero::Dataclip Load (0.3ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "26f871e4-e410-4173-b5e6-999a971dc4af"]]
|
3217
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3218
|
+
[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-23 23:34:59.399177"], ["id", 19]]
|
3219
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3220
|
+
Redirected to http://test.host/dbhero/dataclips/26f871e4-e410-4173-b5e6-999a971dc4af/edit
|
3221
|
+
Completed 302 Found in 4ms (ActiveRecord: 1.0ms)
|
3222
|
+
[1m[36mDbhero::Dataclip Load (0.3ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1[0m [["description", "updated"]]
|
3223
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3224
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3225
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3226
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3227
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3228
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3229
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3230
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3231
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3232
|
+
[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-23 23:34:59.427923"], ["updated_at", "2015-03-23 23:34:59.427923"], ["token", "18694aed-db7a-4b96-a8ac-05655df57322"]]
|
3233
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3234
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3235
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3236
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3237
|
+
[1m[35mSQL (0.3ms)[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-21 23:34:59.432010"], ["created_at", "2015-03-23 23:34:59.433035"], ["token", "c76730bf-a862-4c7e-9467-096f1e5588ee"]]
|
3238
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3239
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3240
|
+
[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-22 23:34:59.434752"], ["created_at", "2015-03-23 23:34:59.435524"], ["token", "8e19fb56-e6d3-4d88-9d01-7c47774271a4"]]
|
3241
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3242
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3243
|
+
[1m[35mSQL (0.3ms)[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-19 23:34:59.437071"], ["created_at", "2015-03-23 23:34:59.437847"], ["token", "a07e7b1c-3920-46b8-b580-bcb78b0ba045"]]
|
3244
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3245
|
+
[1m[35mDbhero::Dataclip Load (1.0ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" ORDER BY "dbhero_dataclips"."updated_at" DESC
|
3246
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3247
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3248
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3249
|
+
[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-23 23:34:59.444713"], ["updated_at", "2015-03-23 23:34:59.444713"], ["token", "e4605e34-b269-4606-aa1a-0c368b4ed992"]]
|
3250
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3251
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3252
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3253
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3254
|
+
[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", "title\ndescription\nfoo"], ["raw_query", "select 'dummy_foo' as dummy_bar, vesion() as db_version"], ["created_at", "2015-03-23 23:34:59.448817"], ["updated_at", "2015-03-23 23:34:59.448817"], ["token", "ffb7cd82-2d84-4c2f-ac22-71a5d08a5edb"]]
|
3255
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3256
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3257
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3258
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3259
|
+
[1m[35mSQL (0.9ms)[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-23 23:34:59.452624"], ["updated_at", "2015-03-23 23:34:59.452624"], ["token", "5f90c591-a22b-4b43-83a4-8d7b3465fa20"]]
|
3260
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3261
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3262
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3263
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3264
|
+
[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-23 23:34:59.457998"], ["updated_at", "2015-03-23 23:34:59.457998"], ["token", "a7a26a84-fb3d-4a0d-8421-8c40352ad828"]]
|
3265
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3266
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3267
|
+
[1m[35m (0.3ms)[0m select 'foo'::text as bar, 'bar'::text as foo
|
3268
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
3269
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3270
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3271
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3272
|
+
[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 foo.nest from (select unnest(ARRAY[1,2,3]) as nest) foo"], ["created_at", "2015-03-23 23:34:59.465076"], ["updated_at", "2015-03-23 23:34:59.465076"], ["token", "0f7c05e1-b073-4b99-817f-3d38adc2761f"]]
|
3273
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3274
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3275
|
+
[1m[35m (0.5ms)[0m select foo.nest from (select unnest(ARRAY[1,2,3]) as nest) foo
|
3276
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
3277
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3278
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3279
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3280
|
+
[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-23 23:34:59.473540"], ["updated_at", "2015-03-23 23:34:59.473540"], ["token", "67e57a8b-1cc6-4fd6-bff9-f9173b46b80b"]]
|
3281
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3282
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3283
|
+
[1m[35m (0.7ms)[0m select 'foo'::text as bar, 'bar'::text as foo
|
3284
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
3285
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
3286
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3287
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3288
|
+
[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 'foo'::text as bar, 'bar'::text as foo"], ["created_at", "2015-03-23 23:34:59.502225"], ["updated_at", "2015-03-23 23:34:59.502225"], ["token", "dd77e70a-f83e-41e6-a236-bb076dcc424f"]]
|
3289
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3290
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3291
|
+
[1m[35m (0.2ms)[0m select 'foo'::text as bar, 'bar'::text as foo
|
3292
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
3293
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3294
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3295
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3296
|
+
[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 'dummy_foo' as dummy_bar, vesion() as db_version"], ["created_at", "2015-03-23 23:34:59.507600"], ["updated_at", "2015-03-23 23:34:59.507600"], ["token", "2b645b12-359d-4f88-b903-ae444f230e3f"]]
|
3297
|
+
[1m[35m (1.9ms)[0m RELEASE SAVEPOINT active_record_1
|
3298
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3299
|
+
[1m[35mSQL (0.5ms)[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-23 23:34:59.514102"], ["updated_at", "2015-03-23 23:34:59.514102"], ["token", "b32025e8-063c-4438-99e9-9eff92514636"]]
|
3300
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3301
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3302
|
+
[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-23 23:34:59.518071"], ["updated_at", "2015-03-23 23:34:59.518071"], ["token", "300f257d-1693-44cb-877d-43907ccf7a84"]]
|
3303
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3304
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3305
|
+
[1m[35mSQL (1.1ms)[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-23 23:34:59.521779"], ["updated_at", "2015-03-23 23:34:59.521779"], ["token", "8dd8ce50-c154-42d5-bf11-1a03b9235421"]]
|
3306
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3307
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3308
|
+
[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-23 23:34:59.526914"], ["updated_at", "2015-03-23 23:34:59.526914"], ["token", "15041de2-442c-48a6-9053-dee8273ff0f8"]]
|
3309
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3310
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3311
|
+
[1m[35mSQL (0.5ms)[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-23 23:34:59.531415"], ["updated_at", "2015-03-23 23:34:59.531415"], ["token", "94cd87cb-c6f5-439a-bbf6-703c78182533"]]
|
3312
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3313
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3314
|
+
[1m[36m (9.1ms)[0m [1mTRUNCATE table dbhero_dataclips[0m
|
3315
|
+
[1m[35m (3.5ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
3316
|
+
[1m[36m (1.1ms)[0m [1mSELECT COUNT(*) FROM "dbhero_dataclips"[0m
|
3317
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
3318
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3319
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3320
|
+
[1m[36mSQL (0.8ms)[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-23 23:34:59.555461"], ["updated_at", "2015-03-23 23:34:59.555461"], ["token", "ba72e199-ba81-4990-9a92-ae753754e7dc"]]
|
3321
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3322
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3323
|
+
[1m[35mSQL (0.5ms)[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-23 23:34:59.560255"], ["updated_at", "2015-03-23 23:34:59.560255"], ["token", "0b7b5e4a-79f0-446d-ad3f-63e20d3c1245"]]
|
3324
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3325
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3326
|
+
[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-23 23:34:59.564702"], ["updated_at", "2015-03-23 23:34:59.564702"], ["token", "39b833ca-08e9-4780-ad4d-d41fbb77c514"]]
|
3327
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3328
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3329
|
+
[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-23 23:34:59.568049"], ["updated_at", "2015-03-23 23:34:59.568049"], ["token", "a1f61c40-5e30-406c-b89d-29f28c9b014c"]]
|
3330
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3331
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3332
|
+
[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-23 23:34:59.571807"], ["updated_at", "2015-03-23 23:34:59.571807"], ["token", "d8f5118f-3c3f-4f2a-a520-2a40f76380ce"]]
|
3333
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3334
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3335
|
+
[1m[35mSQL (0.9ms)[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-23 23:34:59.576070"], ["updated_at", "2015-03-23 23:34:59.576070"], ["token", "9cb6428a-1828-4b66-8b80-292f361045a5"]]
|
3336
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3337
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3338
|
+
[1m[36m (0.3ms)[0m [1mTRUNCATE table dbhero_dataclips; commit;[0m
|
3339
|
+
PG::SyntaxError: ERROR: cannot insert multiple commands into a prepared statement
|
3340
|
+
: TRUNCATE table dbhero_dataclips; commit;
|
3341
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
3342
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "dbhero_dataclips"[0m
|
3343
|
+
[1m[35m (0.8ms)[0m ROLLBACK
|
3344
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3345
|
+
[1m[36m (126.1ms)[0m [1mDROP DATABASE IF EXISTS "dummy_test"[0m
|
3346
|
+
[1m[35m (364.0ms)[0m CREATE DATABASE "dummy_test" ENCODING = 'unicode'
|
3347
|
+
[1m[36mSQL (1.6ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
3348
|
+
[1m[35m (22.3ms)[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)
|
3349
|
+
[1m[36m (3.3ms)[0m [1mCREATE UNIQUE INDEX "index_dbhero_dataclips_on_token" ON "dbhero_dataclips" USING btree ("token")[0m
|
3350
|
+
[1m[35m (1.6ms)[0m CREATE INDEX "index_dbhero_dataclips_on_user" ON "dbhero_dataclips" USING btree ("user")
|
3351
|
+
[1m[36m (4.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
3352
|
+
[1m[35m (3.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3353
|
+
[1m[36m (0.7ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
3354
|
+
[1m[35m (3.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150323172444')
|
3355
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.5ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
3356
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3357
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
3358
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
3359
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3360
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3361
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
3362
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/index.html.slim within layouts/dbhero/application (0.4ms)
|
3363
|
+
Completed 200 OK in 17ms (Views: 16.5ms | ActiveRecord: 0.0ms)
|
3364
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3365
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3366
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
3367
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/index.html.slim within layouts/dbhero/application (0.3ms)
|
3368
|
+
Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
3369
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3370
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3371
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
3372
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
3373
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3374
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3375
|
+
Processing by Dbhero::DataclipsController#index as HTML
|
3376
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/index.html.slim within layouts/dbhero/application (0.3ms)
|
3377
|
+
Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
3378
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3379
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3380
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
3381
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
3382
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3383
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3384
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
3385
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/new.html.slim within layouts/dbhero/application (0.3ms)
|
3386
|
+
Completed 200 OK in 19ms (Views: 3.6ms | ActiveRecord: 8.0ms)
|
3387
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3388
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3389
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
3390
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/new.html.slim within layouts/dbhero/application (0.2ms)
|
3391
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
3392
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3393
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3394
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
3395
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
3396
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3397
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3398
|
+
Processing by Dbhero::DataclipsController#new as HTML
|
3399
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/new.html.slim within layouts/dbhero/application (0.2ms)
|
3400
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
3401
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3402
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3403
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
3404
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
3405
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
3406
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
3407
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3408
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
3409
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
3410
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3411
|
+
[1m[36mSQL (1.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 01:56:03.822775"], ["updated_at", "2015-03-24 01:56:03.822775"], ["token", "856000fe-5c94-4b99-a743-1809d838f976"]]
|
3412
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3413
|
+
Redirected to http://test.host/dbhero/dataclips/856000fe-5c94-4b99-a743-1809d838f976/edit
|
3414
|
+
Completed 302 Found in 24ms (ActiveRecord: 2.1ms)
|
3415
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3416
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3417
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
3418
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
3419
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3420
|
+
[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 01:56:03.848523"], ["updated_at", "2015-03-24 01:56:03.848523"], ["token", "854c66e1-5193-48c0-89b9-17050e4a6bae"]]
|
3421
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3422
|
+
Redirected to http://test.host/dbhero/dataclips/854c66e1-5193-48c0-89b9-17050e4a6bae/edit
|
3423
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
|
3424
|
+
[1m[35mDbhero::Dataclip Load (0.5ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "foo bar"]]
|
3425
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3426
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3427
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
3428
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
3429
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3430
|
+
[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 01:56:03.867039"], ["updated_at", "2015-03-24 01:56:03.867039"], ["token", "104a841a-3471-4184-87c4-f729189a2c59"]]
|
3431
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3432
|
+
Redirected to http://test.host/dbhero/dataclips/104a841a-3471-4184-87c4-f729189a2c59/edit
|
3433
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
3434
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3435
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3436
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
3437
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
3438
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3439
|
+
[1m[36mSQL (0.3ms)[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 01:56:03.874286"], ["updated_at", "2015-03-24 01:56:03.874286"], ["token", "7a78ed85-2582-40ab-8d20-203888a493ec"]]
|
3440
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3441
|
+
Redirected to http://test.host/dbhero/dataclips/7a78ed85-2582-40ab-8d20-203888a493ec/edit
|
3442
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
3443
|
+
[1m[36mDbhero::Dataclip Load (0.5ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1[0m [["description", "foo bar"]]
|
3444
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
3445
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3446
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
3447
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
3448
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
3449
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3450
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3451
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
3452
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar disabled", "raw_query"=>"select 'foo' as bar"}}
|
3453
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3454
|
+
[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 01:56:03.888501"], ["updated_at", "2015-03-24 01:56:03.888501"], ["token", "e0a5ad17-f3b7-46b3-910e-d30d41950b70"]]
|
3455
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3456
|
+
Redirected to http://test.host/dbhero/dataclips/e0a5ad17-f3b7-46b3-910e-d30d41950b70/edit
|
3457
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
3458
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3459
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3460
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
3461
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar disabled", "raw_query"=>"select 'foo' as bar"}}
|
3462
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3463
|
+
[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 01:56:03.896024"], ["updated_at", "2015-03-24 01:56:03.896024"], ["token", "45d28c42-9aed-4baa-8355-6665ef391cf6"]]
|
3464
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3465
|
+
Redirected to http://test.host/dbhero/dataclips/45d28c42-9aed-4baa-8355-6665ef391cf6/edit
|
3466
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
3467
|
+
[1m[35mDbhero::Dataclip Load (0.3ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "foo bar disabled"]]
|
3468
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3469
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3470
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3471
|
+
[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 01:56:03.902680"], ["updated_at", "2015-03-24 01:56:03.902680"], ["token", "5ccf34c2-6500-4fed-8ac0-0ba4a0990935"]]
|
3472
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3473
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
3474
|
+
Parameters: {"id"=>"5ccf34c2-6500-4fed-8ac0-0ba4a0990935"}
|
3475
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
3476
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3477
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3478
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3479
|
+
[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 01:56:03.908604"], ["updated_at", "2015-03-24 01:56:03.908604"], ["token", "e2574831-f3d7-4d4c-9e3d-b6602ac14078"]]
|
3480
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3481
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
3482
|
+
Parameters: {"id"=>"e2574831-f3d7-4d4c-9e3d-b6602ac14078"}
|
3483
|
+
[1m[36mDbhero::Dataclip Load (0.4ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "e2574831-f3d7-4d4c-9e3d-b6602ac14078"]]
|
3484
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3485
|
+
[1m[36m (2.0ms)[0m [1mselect 'dummy_foo' as dummy_bar, vesion() as db_version[0m
|
3486
|
+
PG::UndefinedFunction: ERROR: function vesion() does not exist
|
3487
|
+
LINE 1: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
3488
|
+
^
|
3489
|
+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
3490
|
+
: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
3491
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
3492
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/edit.html.slim within layouts/dbhero/application (0.3ms)
|
3493
|
+
Completed 200 OK in 9ms (Views: 3.9ms | ActiveRecord: 2.7ms)
|
3494
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3495
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3496
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3497
|
+
[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 01:56:03.923978"], ["updated_at", "2015-03-24 01:56:03.923978"], ["token", "6846f0c0-efe4-467a-9c8e-d40bb6b0ae2a"]]
|
3498
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3499
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
3500
|
+
Parameters: {"id"=>"6846f0c0-efe4-467a-9c8e-d40bb6b0ae2a"}
|
3501
|
+
[1m[35mDbhero::Dataclip Load (0.4ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "6846f0c0-efe4-467a-9c8e-d40bb6b0ae2a"]]
|
3502
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3503
|
+
[1m[35m (0.4ms)[0m select 'dummy_foo' as dummy_bar, vesion() as db_version
|
3504
|
+
PG::UndefinedFunction: ERROR: function vesion() does not exist
|
3505
|
+
LINE 1: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
3506
|
+
^
|
3507
|
+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
3508
|
+
: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
3509
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
3510
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/edit.html.slim within layouts/dbhero/application (0.2ms)
|
3511
|
+
Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 1.0ms)
|
3512
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3513
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3514
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3515
|
+
[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 01:56:03.933347"], ["updated_at", "2015-03-24 01:56:03.933347"], ["token", "6c06725d-c86e-43e7-937e-faebbae7eaf3"]]
|
3516
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3517
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
3518
|
+
Parameters: {"id"=>"6c06725d-c86e-43e7-937e-faebbae7eaf3"}
|
3519
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
3520
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3521
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3522
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3523
|
+
[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 01:56:03.939500"], ["updated_at", "2015-03-24 01:56:03.939500"], ["token", "30324b43-2aaf-491d-a2b3-d9293139de44"]]
|
3524
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3525
|
+
Processing by Dbhero::DataclipsController#edit as HTML
|
3526
|
+
Parameters: {"id"=>"30324b43-2aaf-491d-a2b3-d9293139de44"}
|
3527
|
+
[1m[35mDbhero::Dataclip Load (0.3ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "30324b43-2aaf-491d-a2b3-d9293139de44"]]
|
3528
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3529
|
+
[1m[35m (0.3ms)[0m select 'dummy_foo' as dummy_bar, vesion() as db_version
|
3530
|
+
PG::UndefinedFunction: ERROR: function vesion() does not exist
|
3531
|
+
LINE 1: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
3532
|
+
^
|
3533
|
+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
3534
|
+
: select 'dummy_foo' as dummy_bar, vesion() as db_version
|
3535
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
3536
|
+
Rendered /Users/ton/code/dbhero/app/views/dbhero/dataclips/edit.html.slim within layouts/dbhero/application (0.2ms)
|
3537
|
+
Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.9ms)
|
3538
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3539
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3540
|
+
Processing by Dbhero::DataclipsController#create as HTML
|
3541
|
+
Parameters: {"dataclip"=>{"description"=>"foo bar", "raw_query"=>"select 'foo' as bar"}}
|
3542
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
3543
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3544
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3545
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3546
|
+
[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 01:56:03.952389"], ["updated_at", "2015-03-24 01:56:03.952389"], ["token", "07f32b94-c59c-40fa-bd0f-2537fa0153d3"]]
|
3547
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3548
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
3549
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"07f32b94-c59c-40fa-bd0f-2537fa0153d3"}
|
3550
|
+
[1m[36mDbhero::Dataclip Load (0.3ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "07f32b94-c59c-40fa-bd0f-2537fa0153d3"]]
|
3551
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3552
|
+
[1m[36mSQL (1.4ms)[0m [1mUPDATE "dbhero_dataclips" SET "description" = $1, "updated_at" = $2 WHERE "dbhero_dataclips"."id" = $3[0m [["description", "updated"], ["updated_at", "2015-03-24 01:56:03.956599"], ["id", 12]]
|
3553
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3554
|
+
Redirected to http://test.host/dbhero/dataclips/07f32b94-c59c-40fa-bd0f-2537fa0153d3/edit
|
3555
|
+
Completed 302 Found in 11ms (ActiveRecord: 2.0ms)
|
3556
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3557
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3558
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3559
|
+
[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 01:56:03.969124"], ["updated_at", "2015-03-24 01:56:03.969124"], ["token", "99eb516f-5d63-488d-977c-9692ca6a1536"]]
|
3560
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3561
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
3562
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"99eb516f-5d63-488d-977c-9692ca6a1536"}
|
3563
|
+
[1m[35mDbhero::Dataclip Load (0.4ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "99eb516f-5d63-488d-977c-9692ca6a1536"]]
|
3564
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3565
|
+
[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 01:56:03.973576"], ["id", 13]]
|
3566
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3567
|
+
Redirected to http://test.host/dbhero/dataclips/99eb516f-5d63-488d-977c-9692ca6a1536/edit
|
3568
|
+
Completed 302 Found in 4ms (ActiveRecord: 1.0ms)
|
3569
|
+
[1m[35mDbhero::Dataclip Load (0.4ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1 [["description", "updated"]]
|
3570
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3571
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3572
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3573
|
+
[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 01:56:03.980456"], ["updated_at", "2015-03-24 01:56:03.980456"], ["token", "cf5f7323-0c57-4d15-9780-51ad12eef19b"]]
|
3574
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3575
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
3576
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"cf5f7323-0c57-4d15-9780-51ad12eef19b"}
|
3577
|
+
[1m[35mDbhero::Dataclip Load (0.4ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "cf5f7323-0c57-4d15-9780-51ad12eef19b"]]
|
3578
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3579
|
+
[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 01:56:03.984917"], ["id", 14]]
|
3580
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3581
|
+
Redirected to http://test.host/dbhero/dataclips/cf5f7323-0c57-4d15-9780-51ad12eef19b/edit
|
3582
|
+
Completed 302 Found in 4ms (ActiveRecord: 1.0ms)
|
3583
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3584
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3585
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3586
|
+
[1m[36mSQL (0.2ms)[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 01:56:03.990773"], ["updated_at", "2015-03-24 01:56:03.990773"], ["token", "1d1f8a0d-c0a9-4085-8f7c-d778fa87c5d2"]]
|
3587
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3588
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
3589
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"1d1f8a0d-c0a9-4085-8f7c-d778fa87c5d2"}
|
3590
|
+
[1m[36mDbhero::Dataclip Load (0.2ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "1d1f8a0d-c0a9-4085-8f7c-d778fa87c5d2"]]
|
3591
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3592
|
+
[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 01:56:03.995278"], ["id", 15]]
|
3593
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3594
|
+
Redirected to http://test.host/dbhero/dataclips/1d1f8a0d-c0a9-4085-8f7c-d778fa87c5d2/edit
|
3595
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
|
3596
|
+
[1m[36mDbhero::Dataclip Load (0.3ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1[0m [["description", "updated"]]
|
3597
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3598
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3599
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3600
|
+
[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 01:56:04.002760"], ["updated_at", "2015-03-24 01:56:04.002760"], ["token", "0fa83f4b-6c1e-49ed-80d1-2112c1fb8fe2"]]
|
3601
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3602
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
3603
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"0fa83f4b-6c1e-49ed-80d1-2112c1fb8fe2"}
|
3604
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
3605
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3606
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3607
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3608
|
+
[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 01:56:04.009104"], ["updated_at", "2015-03-24 01:56:04.009104"], ["token", "da6793fb-c0f3-434d-b03e-6887dc487541"]]
|
3609
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3610
|
+
[1m[35mDbhero::Dataclip Load (0.3ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."id" = $1 LIMIT 1 [["id", 17]]
|
3611
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3612
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3613
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3614
|
+
[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 01:56:04.014780"], ["updated_at", "2015-03-24 01:56:04.014780"], ["token", "2fea74b6-14cf-407a-915b-df91e2b2f490"]]
|
3615
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3616
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
3617
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"2fea74b6-14cf-407a-915b-df91e2b2f490"}
|
3618
|
+
[1m[35mDbhero::Dataclip Load (0.2ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1 [["token", "2fea74b6-14cf-407a-915b-df91e2b2f490"]]
|
3619
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3620
|
+
[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 01:56:04.018919"], ["id", 18]]
|
3621
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3622
|
+
Redirected to http://test.host/dbhero/dataclips/2fea74b6-14cf-407a-915b-df91e2b2f490/edit
|
3623
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
|
3624
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3625
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3626
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3627
|
+
[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 01:56:04.024490"], ["updated_at", "2015-03-24 01:56:04.024490"], ["token", "a05e8586-4141-4ce5-8334-8f76c7c6ea85"]]
|
3628
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3629
|
+
Processing by Dbhero::DataclipsController#update as HTML
|
3630
|
+
Parameters: {"dataclip"=>{"description"=>"updated"}, "id"=>"a05e8586-4141-4ce5-8334-8f76c7c6ea85"}
|
3631
|
+
[1m[36mDbhero::Dataclip Load (0.3ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."token" = $1 LIMIT 1[0m [["token", "a05e8586-4141-4ce5-8334-8f76c7c6ea85"]]
|
3632
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3633
|
+
[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 01:56:04.028369"], ["id", 19]]
|
3634
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3635
|
+
Redirected to http://test.host/dbhero/dataclips/a05e8586-4141-4ce5-8334-8f76c7c6ea85/edit
|
3636
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
|
3637
|
+
[1m[36mDbhero::Dataclip Load (0.3ms)[0m [1mSELECT "dbhero_dataclips".* FROM "dbhero_dataclips" WHERE "dbhero_dataclips"."description" = $1 LIMIT 1[0m [["description", "updated"]]
|
3638
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3639
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3640
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3641
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3642
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3643
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3644
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3645
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3646
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3647
|
+
[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 01:56:04.055924"], ["updated_at", "2015-03-24 01:56:04.055924"], ["token", "b43c5cea-dd0c-4845-8048-f344077184d9"]]
|
3648
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3649
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3650
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3651
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3652
|
+
[1m[35mSQL (0.3ms)[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 01:56:04.058703"], ["created_at", "2015-03-24 01:56:04.060908"], ["token", "7ff7c4e7-71fb-4764-bc3e-59dde8565be2"]]
|
3653
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3654
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3655
|
+
[1m[36mSQL (0.4ms)[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 01:56:04.062851"], ["created_at", "2015-03-24 01:56:04.063769"], ["token", "fc23ed06-8023-452a-8579-4425311b608f"]]
|
3656
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3657
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3658
|
+
[1m[35mSQL (0.3ms)[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 01:56:04.065691"], ["created_at", "2015-03-24 01:56:04.066518"], ["token", "88ca1f22-10cf-4470-a4be-d9b89cee6489"]]
|
3659
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3660
|
+
[1m[35mDbhero::Dataclip Load (1.7ms)[0m SELECT "dbhero_dataclips".* FROM "dbhero_dataclips" ORDER BY "dbhero_dataclips"."updated_at" DESC
|
3661
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3662
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3663
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3664
|
+
[1m[35mSQL (0.2ms)[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 01:56:04.072747"], ["updated_at", "2015-03-24 01:56:04.072747"], ["token", "81f2bc28-dab1-4a46-bcce-24099edc2788"]]
|
3665
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3666
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3667
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3668
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3669
|
+
[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", "title\ndescription\nfoo"], ["raw_query", "select 'dummy_foo' as dummy_bar, vesion() as db_version"], ["created_at", "2015-03-24 01:56:04.076319"], ["updated_at", "2015-03-24 01:56:04.076319"], ["token", "1360b447-217f-4a16-99a4-c015da26af4c"]]
|
3670
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3671
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3672
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3673
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3674
|
+
[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 01:56:04.079953"], ["updated_at", "2015-03-24 01:56:04.079953"], ["token", "8e3e806c-5e30-42c0-bd75-d13dea2ba3d5"]]
|
3675
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3676
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3677
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3678
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3679
|
+
[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 01:56:04.083520"], ["updated_at", "2015-03-24 01:56:04.083520"], ["token", "f50d6720-f2d6-464c-9505-567f03abf6e4"]]
|
3680
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3681
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3682
|
+
[1m[35m (0.2ms)[0m select 'foo'::text as bar, 'bar'::text as foo
|
3683
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
3684
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3685
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3686
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3687
|
+
[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.nest from (select unnest(ARRAY[1,2,3]) as nest) foo"], ["created_at", "2015-03-24 01:56:04.088226"], ["updated_at", "2015-03-24 01:56:04.088226"], ["token", "edf5d6fa-4159-491c-a196-c7c1fb322a30"]]
|
3688
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3689
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3690
|
+
[1m[35m (0.9ms)[0m select foo.nest from (select unnest(ARRAY[1,2,3]) as nest) foo
|
3691
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
3692
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3693
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3694
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3695
|
+
[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 'foo'::text as bar, 'bar'::text as foo"], ["created_at", "2015-03-24 01:56:04.094580"], ["updated_at", "2015-03-24 01:56:04.094580"], ["token", "e05b4e14-cec4-4f49-90b3-15b6de5565a0"]]
|
3696
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3697
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3698
|
+
[1m[35m (0.2ms)[0m select 'foo'::text as bar, 'bar'::text as foo
|
3699
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
3700
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3701
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3702
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3703
|
+
[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 01:56:04.115264"], ["updated_at", "2015-03-24 01:56:04.115264"], ["token", "29113fbb-0281-4a2f-8cb5-c7621a2a60e3"]]
|
3704
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3705
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3706
|
+
[1m[35m (0.2ms)[0m select 'foo'::text as bar, 'bar'::text as foo
|
3707
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
3708
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3709
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3710
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3711
|
+
[1m[36mSQL (0.2ms)[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 01:56:04.119515"], ["updated_at", "2015-03-24 01:56:04.119515"], ["token", "63889283-1177-42f0-8c87-9ed9aa9880c8"]]
|
3712
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3713
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3714
|
+
[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 01:56:04.121658"], ["updated_at", "2015-03-24 01:56:04.121658"], ["token", "79c1d720-d0dd-4317-95f3-333a7e07e231"]]
|
3715
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3716
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3717
|
+
[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 01:56:04.124398"], ["updated_at", "2015-03-24 01:56:04.124398"], ["token", "a8ca5cde-feb9-4110-8eb2-6e118593bdad"]]
|
3718
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3719
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3720
|
+
[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 01:56:04.126423"], ["updated_at", "2015-03-24 01:56:04.126423"], ["token", "535b5d30-0c3b-4cbd-82b6-e9b649282f98"]]
|
3721
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3722
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3723
|
+
[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 01:56:04.128674"], ["updated_at", "2015-03-24 01:56:04.128674"], ["token", "0dfebe03-5feb-4863-9d9a-718e9d1a24ef"]]
|
3724
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3725
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3726
|
+
[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"], ["created_at", "2015-03-24 01:56:04.131219"], ["updated_at", "2015-03-24 01:56:04.131219"], ["token", "8c561fcf-9668-4f60-bad7-8a16be90fd27"]]
|
3727
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3728
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3729
|
+
[1m[36m (4.4ms)[0m [1mTRUNCATE table dbhero_dataclips[0m
|
3730
|
+
[1m[35m (1.6ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
3731
|
+
[1m[36m (0.7ms)[0m [1mSELECT COUNT(*) FROM "dbhero_dataclips"[0m
|
3732
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
3733
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3734
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3735
|
+
[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 01:56:04.143469"], ["updated_at", "2015-03-24 01:56:04.143469"], ["token", "5405b044-7edc-48e4-a39d-c67ba367bb7c"]]
|
3736
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3737
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3738
|
+
[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 01:56:04.146598"], ["updated_at", "2015-03-24 01:56:04.146598"], ["token", "e31ca542-2497-47de-b526-c669e575142c"]]
|
3739
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3740
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3741
|
+
[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 01:56:04.148961"], ["updated_at", "2015-03-24 01:56:04.148961"], ["token", "54c98a3c-1070-4a92-a82d-ae5166f849eb"]]
|
3742
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3743
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3744
|
+
[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 01:56:04.151411"], ["updated_at", "2015-03-24 01:56:04.151411"], ["token", "0064aad4-d6f3-4123-8dc8-f6e85ee70187"]]
|
3745
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3746
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3747
|
+
[1m[36mSQL (0.2ms)[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 01:56:04.153327"], ["updated_at", "2015-03-24 01:56:04.153327"], ["token", "320d2d0a-a986-4aab-92d9-0f2505accd7f"]]
|
3748
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3749
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3750
|
+
[1m[35mSQL (0.2ms)[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 01:56:04.155303"], ["updated_at", "2015-03-24 01:56:04.155303"], ["token", "d263b5f7-bb08-4f22-aba8-ec75b8b92c15"]]
|
3751
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3752
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3753
|
+
[1m[36m (0.2ms)[0m [1mTRUNCATE table dbhero_dataclips; commit;[0m
|
3754
|
+
PG::SyntaxError: ERROR: cannot insert multiple commands into a prepared statement
|
3755
|
+
: TRUNCATE table dbhero_dataclips; commit;
|
3756
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
3757
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "dbhero_dataclips"[0m
|
3758
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|