paper_trail_ui 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +77 -0
- data/Rakefile +32 -0
- data/app/assets/javascripts/paper_trail_ui/application.js +18 -0
- data/app/assets/javascripts/paper_trail_ui/bootstrap-datepicker.js +474 -0
- data/app/assets/javascripts/paper_trail_ui/bootstrap.min.js +7 -0
- data/app/assets/javascripts/paper_trail_ui/reports.js +4 -0
- data/app/assets/stylesheets/paper_trail_ui/application.css +17 -0
- data/app/assets/stylesheets/paper_trail_ui/bootstrap.min.css +6 -0
- data/app/assets/stylesheets/paper_trail_ui/datepicker.css +182 -0
- data/app/controllers/paper_trail_ui/application_controller.rb +4 -0
- data/app/controllers/paper_trail_ui/reports_controller.rb +29 -0
- data/app/helpers/paper_trail_ui/application_helper.rb +10 -0
- data/app/views/layouts/paper_trail_ui/application.html.haml +9 -0
- data/app/views/paper_trail_ui/reports/_object_info_row.html.haml +5 -0
- data/app/views/paper_trail_ui/reports/index.html.haml +64 -0
- data/app/views/paper_trail_ui/reports/show.html.haml +50 -0
- data/config/routes.rb +3 -0
- data/lib/paper_trail_ui.rb +4 -0
- data/lib/paper_trail_ui/engine.rb +10 -0
- data/lib/paper_trail_ui/version.rb +3 -0
- data/lib/tasks/paper_trail_ui_tasks.rake +4 -0
- data/spec/controllers/paper_trail_ui/reports_controller_spec.rb +24 -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/bin/setup +29 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +26 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +23 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +41 -0
- data/spec/dummy/config/environments/production.rb +79 -0
- data/spec/dummy/config/environments/test.rb +42 -0
- data/spec/dummy/config/initializers/assets.rb +11 -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/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/paper_trail.rb +2 -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/20170622142833_create_versions.rb +36 -0
- data/spec/dummy/db/schema.rb +30 -0
- data/spec/dummy/log/development.log +24 -0
- data/spec/dummy/log/test.log +569 -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/rails_helper.rb +57 -0
- data/spec/spec_helper.rb +96 -0
- metadata +282 -0
|
@@ -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: f0b2532e1870c9c99282d3ffbc95bbfebdd6e8ae3489c00ad7ab7d13a759601d512e0403a936f7d57b6f504e12dad0147e5bba5cdb3cbb6023c6c6cf79e7e1e6
|
|
15
|
+
|
|
16
|
+
test:
|
|
17
|
+
secret_key_base: 4cc3cff516bdea0387ca456607721074bd6b9b9b619df2cde98273714de69c9e41b6313d2854496358e1c8fefd912cbdcc6a3e276c4937165216d0eca7357214
|
|
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,36 @@
|
|
|
1
|
+
# This migration creates the `versions` table, the only schema PT requires.
|
|
2
|
+
# All other migrations PT provides are optional.
|
|
3
|
+
class CreateVersions < ActiveRecord::Migration
|
|
4
|
+
|
|
5
|
+
# The largest text column available in all supported RDBMS is
|
|
6
|
+
# 1024^3 - 1 bytes, roughly one gibibyte. We specify a size
|
|
7
|
+
# so that MySQL will use `longtext` instead of `text`. Otherwise,
|
|
8
|
+
# when serializing very large objects, `text` might not be big enough.
|
|
9
|
+
TEXT_BYTES = 1_073_741_823
|
|
10
|
+
|
|
11
|
+
def change
|
|
12
|
+
create_table :versions do |t|
|
|
13
|
+
t.string :item_type, {:null=>false}
|
|
14
|
+
t.integer :item_id, null: false
|
|
15
|
+
t.string :event, null: false
|
|
16
|
+
t.string :whodunnit
|
|
17
|
+
t.text :object, limit: TEXT_BYTES
|
|
18
|
+
|
|
19
|
+
# Known issue in MySQL: fractional second precision
|
|
20
|
+
# -------------------------------------------------
|
|
21
|
+
#
|
|
22
|
+
# MySQL timestamp columns do not support fractional seconds unless
|
|
23
|
+
# defined with "fractional seconds precision". MySQL users should manually
|
|
24
|
+
# add fractional seconds precision to this migration, specifically, to
|
|
25
|
+
# the `created_at` column.
|
|
26
|
+
# (https://dev.mysql.com/doc/refman/5.6/en/fractional-seconds.html)
|
|
27
|
+
#
|
|
28
|
+
# MySQL users should also upgrade to rails 4.2, which is the first
|
|
29
|
+
# version of ActiveRecord with support for fractional seconds in MySQL.
|
|
30
|
+
# (https://github.com/rails/rails/pull/14359)
|
|
31
|
+
#
|
|
32
|
+
t.datetime :created_at
|
|
33
|
+
end
|
|
34
|
+
add_index :versions, %i(item_type item_id)
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,30 @@
|
|
|
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: 20170622142833) do
|
|
15
|
+
|
|
16
|
+
# These are extensions that must be enabled in order to support this database
|
|
17
|
+
enable_extension "plpgsql"
|
|
18
|
+
|
|
19
|
+
create_table "versions", force: :cascade do |t|
|
|
20
|
+
t.string "item_type", null: false
|
|
21
|
+
t.integer "item_id", null: false
|
|
22
|
+
t.string "event", null: false
|
|
23
|
+
t.string "whodunnit"
|
|
24
|
+
t.text "object"
|
|
25
|
+
t.datetime "created_at"
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
add_index "versions", ["item_type", "item_id"], name: "index_versions_on_item_type_and_item_id", using: :btree
|
|
29
|
+
|
|
30
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
DEPRECATION WARNING: PaperTrail.config.track_associations has not been set. As of PaperTrail 5, it defaults to false. Tracking associations is an experimental feature so we recommend setting PaperTrail.config.track_associations = false in your config/initializers/paper_trail.rb . (called from __pry__ at (pry):5)
|
|
2
|
+
DEPRECATION WARNING: PaperTrail.config.track_associations has not been set. As of PaperTrail 5, it defaults to false. Tracking associations is an experimental feature so we recommend setting PaperTrail.config.track_associations = false in your config/initializers/paper_trail.rb . (called from __pry__ at (pry):3)
|
|
3
|
+
[1m[36m (10.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
|
4
|
+
[1m[35m (5.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
5
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
6
|
+
Migrating to CreateVersions (20170622142833)
|
|
7
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
8
|
+
[1m[36m (5.6ms)[0m [1mCREATE TABLE "versions" ("id" serial primary key, "item_type" character varying NOT NULL, "item_id" integer NOT NULL, "event" character varying NOT NULL, "whodunnit" character varying, "object" text, "created_at" timestamp) [0m
|
|
9
|
+
[1m[35m (2.2ms)[0m CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")
|
|
10
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20170622142833"]]
|
|
11
|
+
[1m[35m (1.2ms)[0m COMMIT
|
|
12
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
13
|
+
[1m[35m (2.4ms)[0m SELECT 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
|
|
14
|
+
FROM pg_constraint c
|
|
15
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
|
16
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
|
17
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
|
18
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
|
19
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
|
20
|
+
WHERE c.contype = 'f'
|
|
21
|
+
AND t1.relname = 'versions'
|
|
22
|
+
AND t3.nspname = ANY (current_schemas(false))
|
|
23
|
+
ORDER BY c.conname
|
|
24
|
+
|
|
@@ -0,0 +1,569 @@
|
|
|
1
|
+
[1m[36m (105.8ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
2
|
+
[1m[35m (233.2ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
3
|
+
[1m[36m (106.3ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
4
|
+
[1m[35m (231.4ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
5
|
+
[1m[36m (106.3ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
6
|
+
[1m[35m (236.1ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
7
|
+
[1m[36m (106.2ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
8
|
+
[1m[35m (231.5ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
9
|
+
[1m[36m (105.3ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
10
|
+
[1m[35m (232.4ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
11
|
+
[1m[36m (105.2ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
12
|
+
[1m[35m (230.3ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
13
|
+
[1m[36m (106.4ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
14
|
+
[1m[35m (233.6ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
15
|
+
[1m[36m (106.4ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
16
|
+
[1m[35m (233.5ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
17
|
+
[1m[36m (105.1ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
18
|
+
[1m[35m (230.7ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
19
|
+
[1m[36m (104.8ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
20
|
+
[1m[35m (240.7ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
21
|
+
[1m[36m (106.6ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
22
|
+
[1m[35m (231.6ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
23
|
+
[1m[36m (106.7ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
24
|
+
[1m[35m (233.6ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
25
|
+
[1m[36m (108.9ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
26
|
+
[1m[35m (230.0ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
27
|
+
[1m[36m (105.2ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
28
|
+
[1m[35m (232.4ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
29
|
+
[1m[36m (105.2ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
30
|
+
[1m[35m (230.4ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
31
|
+
[1m[36m (6.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
|
32
|
+
[1m[35m (3.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
33
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
34
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
35
|
+
[1m[36m (105.0ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
36
|
+
[1m[35m (231.1ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
37
|
+
[1m[36mSQL (0.7ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
|
38
|
+
[1m[35m (7.9ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
|
39
|
+
[1m[36m (3.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
40
|
+
[1m[35m (0.4ms)[0m SELECT version FROM "schema_migrations"
|
|
41
|
+
[1m[36m (4.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
|
42
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
43
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
44
|
+
Migrating to CreateVersions (20170622142833)
|
|
45
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
46
|
+
[1m[36m (6.7ms)[0m [1mCREATE TABLE "versions" ("id" serial primary key, "item_type" character varying NOT NULL, "item_id" integer NOT NULL, "event" character varying NOT NULL, "whodunnit" character varying, "object" text, "created_at" timestamp) [0m
|
|
47
|
+
[1m[35m (2.4ms)[0m CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")
|
|
48
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20170622142833"]]
|
|
49
|
+
[1m[35m (1.7ms)[0m COMMIT
|
|
50
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
51
|
+
[1m[35m (3.4ms)[0m SELECT 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
|
|
52
|
+
FROM pg_constraint c
|
|
53
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
|
54
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
|
55
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
|
56
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
|
57
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
|
58
|
+
WHERE c.contype = 'f'
|
|
59
|
+
AND t1.relname = 'versions'
|
|
60
|
+
AND t3.nspname = ANY (current_schemas(false))
|
|
61
|
+
ORDER BY c.conname
|
|
62
|
+
|
|
63
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
64
|
+
[1m[36m (105.1ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
65
|
+
[1m[35m (230.1ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
66
|
+
[1m[36mSQL (0.3ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
|
67
|
+
[1m[35m (9.4ms)[0m CREATE TABLE "versions" ("id" serial primary key, "item_type" character varying NOT NULL, "item_id" integer NOT NULL, "event" character varying NOT NULL, "whodunnit" character varying, "object" text, "created_at" timestamp)
|
|
68
|
+
[1m[36m (3.1ms)[0m [1mCREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" USING btree ("item_type", "item_id")[0m
|
|
69
|
+
[1m[35m (3.5ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
|
70
|
+
[1m[36m (3.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
71
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
|
72
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170622142833')[0m
|
|
73
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
74
|
+
[1m[36mPaperTrail::Version Load (0.6ms)[0m [1mSELECT DISTINCT item_type FROM "versions"[0m
|
|
75
|
+
[1m[35mPaperTrail::Version Load (0.3ms)[0m SELECT DISTINCT event FROM "versions"
|
|
76
|
+
[1m[36mPaperTrail::Version Load (0.2ms)[0m [1mSELECT DISTINCT whodunnit FROM "versions"[0m
|
|
77
|
+
[1m[35m (0.2ms)[0m BEGIN
|
|
78
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
|
79
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
80
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
81
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
82
|
+
[1m[36m (106.6ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
83
|
+
[1m[35m (229.9ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
84
|
+
[1m[36mSQL (0.3ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
|
85
|
+
[1m[35m (7.8ms)[0m CREATE TABLE "versions" ("id" serial primary key, "item_type" character varying NOT NULL, "item_id" integer NOT NULL, "event" character varying NOT NULL, "whodunnit" character varying, "object" text, "created_at" timestamp)
|
|
86
|
+
[1m[36m (3.3ms)[0m [1mCREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" USING btree ("item_type", "item_id")[0m
|
|
87
|
+
[1m[35m (3.3ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
|
88
|
+
[1m[36m (2.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
89
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
|
90
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170622142833')[0m
|
|
91
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
92
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
93
|
+
[1m[36m (105.2ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
94
|
+
[1m[35m (230.6ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
95
|
+
[1m[36mSQL (0.3ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
|
96
|
+
[1m[35m (8.7ms)[0m CREATE TABLE "versions" ("id" serial primary key, "item_type" character varying NOT NULL, "item_id" integer NOT NULL, "event" character varying NOT NULL, "whodunnit" character varying, "object" text, "created_at" timestamp)
|
|
97
|
+
[1m[36m (3.3ms)[0m [1mCREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" USING btree ("item_type", "item_id")[0m
|
|
98
|
+
[1m[35m (3.7ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
|
99
|
+
[1m[36m (3.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
100
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
|
101
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170622142833')[0m
|
|
102
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
103
|
+
[1m[36mPaperTrail::Version Load (0.7ms)[0m [1mSELECT DISTINCT item_type FROM "versions"[0m
|
|
104
|
+
[1m[35mPaperTrail::Version Load (0.3ms)[0m SELECT DISTINCT event FROM "versions"
|
|
105
|
+
[1m[36mPaperTrail::Version Load (0.2ms)[0m [1mSELECT DISTINCT whodunnit FROM "versions"[0m
|
|
106
|
+
[1m[35m (0.2ms)[0m BEGIN
|
|
107
|
+
Processing by PaperTrailUi::ReportsController#index as HTML
|
|
108
|
+
Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms)
|
|
109
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
110
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
111
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
112
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
113
|
+
[1m[36m (108.6ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
114
|
+
[1m[35m (231.1ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
115
|
+
[1m[36mSQL (0.2ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
|
116
|
+
[1m[35m (8.5ms)[0m CREATE TABLE "versions" ("id" serial primary key, "item_type" character varying NOT NULL, "item_id" integer NOT NULL, "event" character varying NOT NULL, "whodunnit" character varying, "object" text, "created_at" timestamp)
|
|
117
|
+
[1m[36m (3.2ms)[0m [1mCREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" USING btree ("item_type", "item_id")[0m
|
|
118
|
+
[1m[35m (3.3ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
|
119
|
+
[1m[36m (3.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
120
|
+
[1m[35m (0.4ms)[0m SELECT version FROM "schema_migrations"
|
|
121
|
+
[1m[36m (3.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170622142833')[0m
|
|
122
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
123
|
+
[1m[36mPaperTrail::Version Load (0.5ms)[0m [1mSELECT DISTINCT item_type FROM "versions"[0m
|
|
124
|
+
[1m[35mPaperTrail::Version Load (0.3ms)[0m SELECT DISTINCT event FROM "versions"
|
|
125
|
+
[1m[36mPaperTrail::Version Load (0.3ms)[0m [1mSELECT DISTINCT whodunnit FROM "versions"[0m
|
|
126
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
127
|
+
Processing by PaperTrailUi::ReportsController#index as HTML
|
|
128
|
+
Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms)
|
|
129
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
130
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
131
|
+
Processing by PaperTrailUi::ReportsController#show as HTML
|
|
132
|
+
[1m[36mPaperTrail::Version Load (0.2ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."id" = $1 LIMIT 1[0m [["id", nil]]
|
|
133
|
+
Completed 404 Not Found in 8ms (ActiveRecord: 1.2ms)
|
|
134
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
135
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
136
|
+
[1m[36m (107.0ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
137
|
+
[1m[35m (232.8ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
138
|
+
[1m[36mSQL (0.2ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
|
139
|
+
[1m[35m (7.9ms)[0m CREATE TABLE "versions" ("id" serial primary key, "item_type" character varying NOT NULL, "item_id" integer NOT NULL, "event" character varying NOT NULL, "whodunnit" character varying, "object" text, "created_at" timestamp)
|
|
140
|
+
[1m[36m (6.0ms)[0m [1mCREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" USING btree ("item_type", "item_id")[0m
|
|
141
|
+
[1m[35m (3.6ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
|
142
|
+
[1m[36m (3.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
143
|
+
[1m[35m (0.4ms)[0m SELECT version FROM "schema_migrations"
|
|
144
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170622142833')[0m
|
|
145
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
146
|
+
[1m[36mPaperTrail::Version Load (0.6ms)[0m [1mSELECT DISTINCT item_type FROM "versions"[0m
|
|
147
|
+
[1m[35mPaperTrail::Version Load (0.3ms)[0m SELECT DISTINCT event FROM "versions"
|
|
148
|
+
[1m[36mPaperTrail::Version Load (0.2ms)[0m [1mSELECT DISTINCT whodunnit FROM "versions"[0m
|
|
149
|
+
[1m[35m (0.2ms)[0m BEGIN
|
|
150
|
+
Processing by PaperTrailUi::ReportsController#index as HTML
|
|
151
|
+
[1m[36mPaperTrail::Version Load (0.7ms)[0m [1mSELECT DISTINCT "versions".* FROM "versions"[0m
|
|
152
|
+
Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.7ms)
|
|
153
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
154
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
155
|
+
Processing by PaperTrailUi::ReportsController#show as HTML
|
|
156
|
+
[1m[35mPaperTrail::Version Load (0.2ms)[0m SELECT "versions".* FROM "versions" WHERE "versions"."id" = $1 LIMIT 1 [["id", nil]]
|
|
157
|
+
Completed 404 Not Found in 7ms (ActiveRecord: 2.1ms)
|
|
158
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
159
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
160
|
+
[1m[36m (105.3ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
161
|
+
[1m[35m (234.9ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
162
|
+
[1m[36mSQL (0.3ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
|
163
|
+
[1m[35m (8.3ms)[0m CREATE TABLE "versions" ("id" serial primary key, "item_type" character varying NOT NULL, "item_id" integer NOT NULL, "event" character varying NOT NULL, "whodunnit" character varying, "object" text, "created_at" timestamp)
|
|
164
|
+
[1m[36m (3.2ms)[0m [1mCREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" USING btree ("item_type", "item_id")[0m
|
|
165
|
+
[1m[35m (3.5ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
|
166
|
+
[1m[36m (2.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
167
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
|
168
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170622142833')[0m
|
|
169
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
170
|
+
[1m[36mPaperTrail::Version Load (0.6ms)[0m [1mSELECT DISTINCT item_type FROM "versions"[0m
|
|
171
|
+
[1m[35mPaperTrail::Version Load (0.3ms)[0m SELECT DISTINCT event FROM "versions"
|
|
172
|
+
[1m[36mPaperTrail::Version Load (0.3ms)[0m [1mSELECT DISTINCT whodunnit FROM "versions"[0m
|
|
173
|
+
[1m[35m (0.2ms)[0m BEGIN
|
|
174
|
+
Processing by PaperTrailUi::ReportsController#index as HTML
|
|
175
|
+
[1m[36mPaperTrail::Version Load (0.7ms)[0m [1mSELECT DISTINCT "versions".* FROM "versions"[0m
|
|
176
|
+
Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.7ms)
|
|
177
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
178
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
179
|
+
Processing by PaperTrailUi::ReportsController#show as HTML
|
|
180
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m SELECT "versions".* FROM "versions" WHERE "versions"."id" = $1 LIMIT 1 [["id", nil]]
|
|
181
|
+
Completed 404 Not Found in 7ms (ActiveRecord: 1.8ms)
|
|
182
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
183
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
184
|
+
[1m[36m (106.5ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
185
|
+
[1m[35m (232.9ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
186
|
+
[1m[36mSQL (0.2ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
|
187
|
+
[1m[35m (11.0ms)[0m CREATE TABLE "versions" ("id" serial primary key, "item_type" character varying NOT NULL, "item_id" integer NOT NULL, "event" character varying NOT NULL, "whodunnit" character varying, "object" text, "created_at" timestamp)
|
|
188
|
+
[1m[36m (5.8ms)[0m [1mCREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" USING btree ("item_type", "item_id")[0m
|
|
189
|
+
[1m[35m (3.6ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
|
190
|
+
[1m[36m (3.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
191
|
+
[1m[35m (0.4ms)[0m SELECT version FROM "schema_migrations"
|
|
192
|
+
[1m[36m (3.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170622142833')[0m
|
|
193
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
194
|
+
[1m[36mPaperTrail::Version Load (0.5ms)[0m [1mSELECT DISTINCT item_type FROM "versions"[0m
|
|
195
|
+
[1m[35mPaperTrail::Version Load (0.2ms)[0m SELECT DISTINCT event FROM "versions"
|
|
196
|
+
[1m[36mPaperTrail::Version Load (0.3ms)[0m [1mSELECT DISTINCT whodunnit FROM "versions"[0m
|
|
197
|
+
[1m[35m (0.2ms)[0m BEGIN
|
|
198
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
|
199
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
200
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
201
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
202
|
+
[1m[36m (106.4ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
203
|
+
[1m[35m (231.3ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
204
|
+
[1m[36mSQL (0.2ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
|
205
|
+
[1m[35m (8.3ms)[0m CREATE TABLE "versions" ("id" serial primary key, "item_type" character varying NOT NULL, "item_id" integer NOT NULL, "event" character varying NOT NULL, "whodunnit" character varying, "object" text, "created_at" timestamp)
|
|
206
|
+
[1m[36m (3.3ms)[0m [1mCREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" USING btree ("item_type", "item_id")[0m
|
|
207
|
+
[1m[35m (3.5ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
|
208
|
+
[1m[36m (3.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
209
|
+
[1m[35m (0.4ms)[0m SELECT version FROM "schema_migrations"
|
|
210
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170622142833')[0m
|
|
211
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
212
|
+
[1m[36mPaperTrail::Version Load (0.6ms)[0m [1mSELECT DISTINCT item_type FROM "versions"[0m
|
|
213
|
+
[1m[35mPaperTrail::Version Load (0.3ms)[0m SELECT DISTINCT event FROM "versions"
|
|
214
|
+
[1m[36mPaperTrail::Version Load (0.3ms)[0m [1mSELECT DISTINCT whodunnit FROM "versions"[0m
|
|
215
|
+
[1m[35m (0.2ms)[0m BEGIN
|
|
216
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
|
217
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
218
|
+
Processing by PaperTrailUi::ReportsController#show as HTML
|
|
219
|
+
[1m[36mPaperTrail::Version Load (0.2ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."id" = $1 LIMIT 1[0m [["id", nil]]
|
|
220
|
+
Completed 404 Not Found in 8ms (ActiveRecord: 2.0ms)
|
|
221
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
222
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
223
|
+
[1m[36m (106.7ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
224
|
+
[1m[35m (234.6ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
225
|
+
[1m[36mSQL (0.2ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
|
226
|
+
[1m[35m (9.3ms)[0m CREATE TABLE "versions" ("id" serial primary key, "item_type" character varying NOT NULL, "item_id" integer NOT NULL, "event" character varying NOT NULL, "whodunnit" character varying, "object" text, "created_at" timestamp)
|
|
227
|
+
[1m[36m (3.2ms)[0m [1mCREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" USING btree ("item_type", "item_id")[0m
|
|
228
|
+
[1m[35m (3.4ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
|
229
|
+
[1m[36m (2.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
230
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
|
231
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170622142833')[0m
|
|
232
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
233
|
+
[1m[36mPaperTrail::Version Load (0.5ms)[0m [1mSELECT DISTINCT item_type FROM "versions"[0m
|
|
234
|
+
[1m[35mPaperTrail::Version Load (0.3ms)[0m SELECT DISTINCT event FROM "versions"
|
|
235
|
+
[1m[36mPaperTrail::Version Load (0.2ms)[0m [1mSELECT DISTINCT whodunnit FROM "versions"[0m
|
|
236
|
+
[1m[35m (0.2ms)[0m BEGIN
|
|
237
|
+
Processing by PaperTrailUi::ReportsController#index as HTML
|
|
238
|
+
[1m[36mPaperTrail::Version Load (0.7ms)[0m [1mSELECT DISTINCT "versions".* FROM "versions"[0m
|
|
239
|
+
Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.7ms)
|
|
240
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
241
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
242
|
+
Processing by PaperTrailUi::ReportsController#show as HTML
|
|
243
|
+
[1m[35mPaperTrail::Version Load (0.2ms)[0m SELECT "versions".* FROM "versions" WHERE "versions"."id" = $1 LIMIT 1 [["id", nil]]
|
|
244
|
+
Completed 404 Not Found in 7ms (ActiveRecord: 2.0ms)
|
|
245
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
|
246
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
247
|
+
[1m[36m (105.2ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
248
|
+
[1m[35m (230.0ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
249
|
+
[1m[36mSQL (0.2ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
|
250
|
+
[1m[35m (8.0ms)[0m CREATE TABLE "versions" ("id" serial primary key, "item_type" character varying NOT NULL, "item_id" integer NOT NULL, "event" character varying NOT NULL, "whodunnit" character varying, "object" text, "created_at" timestamp)
|
|
251
|
+
[1m[36m (3.1ms)[0m [1mCREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" USING btree ("item_type", "item_id")[0m
|
|
252
|
+
[1m[35m (3.4ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
|
253
|
+
[1m[36m (3.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
254
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
|
255
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170622142833')[0m
|
|
256
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
257
|
+
[1m[36mPaperTrail::Version Load (0.6ms)[0m [1mSELECT DISTINCT item_type FROM "versions"[0m
|
|
258
|
+
[1m[35mPaperTrail::Version Load (0.3ms)[0m SELECT DISTINCT event FROM "versions"
|
|
259
|
+
[1m[36mPaperTrail::Version Load (0.3ms)[0m [1mSELECT DISTINCT whodunnit FROM "versions"[0m
|
|
260
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
261
|
+
Processing by PaperTrailUi::ReportsController#index as HTML
|
|
262
|
+
[1m[36mPaperTrail::Version Load (0.7ms)[0m [1mSELECT DISTINCT "versions".* FROM "versions"[0m
|
|
263
|
+
Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.7ms)
|
|
264
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
265
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
266
|
+
Processing by PaperTrailUi::ReportsController#show as HTML
|
|
267
|
+
[1m[35mPaperTrail::Version Load (0.2ms)[0m SELECT "versions".* FROM "versions" WHERE "versions"."id" = $1 LIMIT 1 [["id", nil]]
|
|
268
|
+
Completed 404 Not Found in 7ms (ActiveRecord: 2.1ms)
|
|
269
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
270
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
271
|
+
[1m[36m (106.7ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
272
|
+
[1m[35m (232.2ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
273
|
+
[1m[36mSQL (0.2ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
|
274
|
+
[1m[35m (8.2ms)[0m CREATE TABLE "versions" ("id" serial primary key, "item_type" character varying NOT NULL, "item_id" integer NOT NULL, "event" character varying NOT NULL, "whodunnit" character varying, "object" text, "created_at" timestamp)
|
|
275
|
+
[1m[36m (3.2ms)[0m [1mCREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" USING btree ("item_type", "item_id")[0m
|
|
276
|
+
[1m[35m (3.5ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
|
277
|
+
[1m[36m (3.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
278
|
+
[1m[35m (0.4ms)[0m SELECT version FROM "schema_migrations"
|
|
279
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170622142833')[0m
|
|
280
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
281
|
+
[1m[36mPaperTrail::Version Load (0.6ms)[0m [1mSELECT DISTINCT item_type FROM "versions"[0m
|
|
282
|
+
[1m[35mPaperTrail::Version Load (0.3ms)[0m SELECT DISTINCT event FROM "versions"
|
|
283
|
+
[1m[36mPaperTrail::Version Load (0.3ms)[0m [1mSELECT DISTINCT whodunnit FROM "versions"[0m
|
|
284
|
+
[1m[35m (0.2ms)[0m BEGIN
|
|
285
|
+
Processing by PaperTrailUi::ReportsController#index as HTML
|
|
286
|
+
[1m[36mPaperTrail::Version Load (0.8ms)[0m [1mSELECT DISTINCT "versions".* FROM "versions"[0m
|
|
287
|
+
Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.8ms)
|
|
288
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
289
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
290
|
+
Processing by PaperTrailUi::ReportsController#show as HTML
|
|
291
|
+
Parameters: {"id"=>"1"}
|
|
292
|
+
[1m[35mPaperTrail::Version Load (0.3ms)[0m SELECT "versions".* FROM "versions" WHERE "versions"."id" = $1 LIMIT 1 [["id", 1]]
|
|
293
|
+
Completed 404 Not Found in 8ms (ActiveRecord: 2.1ms)
|
|
294
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
|
295
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
296
|
+
[1m[36m (105.0ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
297
|
+
[1m[35m (232.9ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
298
|
+
[1m[36mSQL (0.4ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
|
299
|
+
[1m[35m (8.6ms)[0m CREATE TABLE "versions" ("id" serial primary key, "item_type" character varying NOT NULL, "item_id" integer NOT NULL, "event" character varying NOT NULL, "whodunnit" character varying, "object" text, "created_at" timestamp)
|
|
300
|
+
[1m[36m (5.9ms)[0m [1mCREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" USING btree ("item_type", "item_id")[0m
|
|
301
|
+
[1m[35m (6.3ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
|
302
|
+
[1m[36m (2.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
303
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
|
304
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170622142833')[0m
|
|
305
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
306
|
+
[1m[36mPaperTrail::Version Load (0.6ms)[0m [1mSELECT DISTINCT item_type FROM "versions"[0m
|
|
307
|
+
[1m[35mPaperTrail::Version Load (0.3ms)[0m SELECT DISTINCT event FROM "versions"
|
|
308
|
+
[1m[36mPaperTrail::Version Load (0.2ms)[0m [1mSELECT DISTINCT whodunnit FROM "versions"[0m
|
|
309
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
310
|
+
Processing by PaperTrailUi::ReportsController#index as HTML
|
|
311
|
+
[1m[36mPaperTrail::Version Load (0.8ms)[0m [1mSELECT DISTINCT "versions".* FROM "versions"[0m
|
|
312
|
+
Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.8ms)
|
|
313
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
314
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
|
315
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
316
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
317
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
318
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
319
|
+
[1m[36m (107.1ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
320
|
+
[1m[35m (230.9ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
321
|
+
[1m[36mSQL (0.3ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
|
322
|
+
[1m[35m (11.1ms)[0m CREATE TABLE "versions" ("id" serial primary key, "item_type" character varying NOT NULL, "item_id" integer NOT NULL, "event" character varying NOT NULL, "whodunnit" character varying, "object" text, "created_at" timestamp)
|
|
323
|
+
[1m[36m (3.2ms)[0m [1mCREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" USING btree ("item_type", "item_id")[0m
|
|
324
|
+
[1m[35m (3.5ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
|
325
|
+
[1m[36m (3.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
326
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
|
327
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170622142833')[0m
|
|
328
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
329
|
+
[1m[36mPaperTrail::Version Load (0.7ms)[0m [1mSELECT DISTINCT item_type FROM "versions"[0m
|
|
330
|
+
[1m[35mPaperTrail::Version Load (0.3ms)[0m SELECT DISTINCT event FROM "versions"
|
|
331
|
+
[1m[36mPaperTrail::Version Load (0.2ms)[0m [1mSELECT DISTINCT whodunnit FROM "versions"[0m
|
|
332
|
+
[1m[35m (0.2ms)[0m BEGIN
|
|
333
|
+
Processing by PaperTrailUi::ReportsController#index as HTML
|
|
334
|
+
[1m[36mPaperTrail::Version Load (0.7ms)[0m [1mSELECT DISTINCT "versions".* FROM "versions"[0m
|
|
335
|
+
Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.7ms)
|
|
336
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
337
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
338
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
339
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "versions" ("event", "created_at") VALUES ($1, $2) RETURNING "id"[0m [["event", "create"], ["created_at", "2017-06-22 15:11:03.050138"]]
|
|
340
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
341
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
342
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
343
|
+
[1m[36m (106.5ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
344
|
+
[1m[35m (231.5ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
345
|
+
[1m[36mSQL (0.3ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
|
346
|
+
[1m[35m (11.4ms)[0m CREATE TABLE "versions" ("id" serial primary key, "item_type" character varying NOT NULL, "item_id" integer NOT NULL, "event" character varying NOT NULL, "whodunnit" character varying, "object" text, "created_at" timestamp)
|
|
347
|
+
[1m[36m (3.4ms)[0m [1mCREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" USING btree ("item_type", "item_id")[0m
|
|
348
|
+
[1m[35m (3.6ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
|
349
|
+
[1m[36m (3.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
350
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
|
351
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170622142833')[0m
|
|
352
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
353
|
+
[1m[36mPaperTrail::Version Load (0.6ms)[0m [1mSELECT DISTINCT item_type FROM "versions"[0m
|
|
354
|
+
[1m[35mPaperTrail::Version Load (0.3ms)[0m SELECT DISTINCT event FROM "versions"
|
|
355
|
+
[1m[36mPaperTrail::Version Load (0.3ms)[0m [1mSELECT DISTINCT whodunnit FROM "versions"[0m
|
|
356
|
+
[1m[35m (0.2ms)[0m BEGIN
|
|
357
|
+
Processing by PaperTrailUi::ReportsController#index as HTML
|
|
358
|
+
[1m[36mPaperTrail::Version Load (0.7ms)[0m [1mSELECT DISTINCT "versions".* FROM "versions"[0m
|
|
359
|
+
Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.7ms)
|
|
360
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
361
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
362
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
363
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "versions" ("event", "item_type", "created_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["event", "create"], ["item_type", "Test"], ["created_at", "2017-06-22 15:11:26.395039"]]
|
|
364
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
365
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
366
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
367
|
+
[1m[36m (106.9ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
368
|
+
[1m[35m (234.1ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
369
|
+
[1m[36mSQL (0.3ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
|
370
|
+
[1m[35m (11.8ms)[0m CREATE TABLE "versions" ("id" serial primary key, "item_type" character varying NOT NULL, "item_id" integer NOT NULL, "event" character varying NOT NULL, "whodunnit" character varying, "object" text, "created_at" timestamp)
|
|
371
|
+
[1m[36m (3.1ms)[0m [1mCREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" USING btree ("item_type", "item_id")[0m
|
|
372
|
+
[1m[35m (6.1ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
|
373
|
+
[1m[36m (5.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
374
|
+
[1m[35m (0.4ms)[0m SELECT version FROM "schema_migrations"
|
|
375
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170622142833')[0m
|
|
376
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
377
|
+
[1m[36mPaperTrail::Version Load (0.6ms)[0m [1mSELECT DISTINCT item_type FROM "versions"[0m
|
|
378
|
+
[1m[35mPaperTrail::Version Load (0.3ms)[0m SELECT DISTINCT event FROM "versions"
|
|
379
|
+
[1m[36mPaperTrail::Version Load (0.2ms)[0m [1mSELECT DISTINCT whodunnit FROM "versions"[0m
|
|
380
|
+
[1m[35m (0.2ms)[0m BEGIN
|
|
381
|
+
Processing by PaperTrailUi::ReportsController#index as HTML
|
|
382
|
+
[1m[36mPaperTrail::Version Load (0.8ms)[0m [1mSELECT DISTINCT "versions".* FROM "versions"[0m
|
|
383
|
+
Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.8ms)
|
|
384
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
385
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
|
386
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
387
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "versions" ("event", "item_type", "item_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["event", "create"], ["item_type", "Test"], ["item_id", 1], ["created_at", "2017-06-22 15:11:39.679956"]]
|
|
388
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
389
|
+
Processing by PaperTrailUi::ReportsController#show as HTML
|
|
390
|
+
Parameters: {"id"=>"1"}
|
|
391
|
+
[1m[36mPaperTrail::Version Load (0.3ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."id" = $1 LIMIT 1[0m [["id", 1]]
|
|
392
|
+
Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.3ms)
|
|
393
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
394
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
395
|
+
[1m[36m (106.6ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
396
|
+
[1m[35m (241.7ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
397
|
+
[1m[36mSQL (0.2ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
|
398
|
+
[1m[35m (9.9ms)[0m CREATE TABLE "versions" ("id" serial primary key, "item_type" character varying NOT NULL, "item_id" integer NOT NULL, "event" character varying NOT NULL, "whodunnit" character varying, "object" text, "created_at" timestamp)
|
|
399
|
+
[1m[36m (3.4ms)[0m [1mCREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" USING btree ("item_type", "item_id")[0m
|
|
400
|
+
[1m[35m (3.5ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
|
401
|
+
[1m[36m (2.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
402
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
|
403
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170622142833')[0m
|
|
404
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
405
|
+
[1m[36mPaperTrail::Version Load (0.6ms)[0m [1mSELECT DISTINCT item_type FROM "versions"[0m
|
|
406
|
+
[1m[35mPaperTrail::Version Load (0.3ms)[0m SELECT DISTINCT event FROM "versions"
|
|
407
|
+
[1m[36mPaperTrail::Version Load (0.3ms)[0m [1mSELECT DISTINCT whodunnit FROM "versions"[0m
|
|
408
|
+
[1m[35m (0.2ms)[0m BEGIN
|
|
409
|
+
Processing by PaperTrailUi::ReportsController#index as HTML
|
|
410
|
+
[1m[36mPaperTrail::Version Load (0.8ms)[0m [1mSELECT DISTINCT "versions".* FROM "versions"[0m
|
|
411
|
+
Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.8ms)
|
|
412
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
413
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
|
414
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
415
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "versions" ("event", "item_type", "item_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["event", "create"], ["item_type", "Test"], ["item_id", 1], ["created_at", "2017-06-22 15:21:01.570664"]]
|
|
416
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
417
|
+
Processing by PaperTrailUi::ReportsController#show as HTML
|
|
418
|
+
Parameters: {"id"=>"1"}
|
|
419
|
+
[1m[36mPaperTrail::Version Load (0.3ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."id" = $1 LIMIT 1[0m [["id", 1]]
|
|
420
|
+
Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.3ms)
|
|
421
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
422
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
423
|
+
[1m[36m (106.5ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
424
|
+
[1m[35m (232.8ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
425
|
+
[1m[36mSQL (0.3ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
|
426
|
+
[1m[35m (7.9ms)[0m CREATE TABLE "versions" ("id" serial primary key, "item_type" character varying NOT NULL, "item_id" integer NOT NULL, "event" character varying NOT NULL, "whodunnit" character varying, "object" text, "created_at" timestamp)
|
|
427
|
+
[1m[36m (3.3ms)[0m [1mCREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" USING btree ("item_type", "item_id")[0m
|
|
428
|
+
[1m[35m (6.4ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
|
429
|
+
[1m[36m (2.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
430
|
+
[1m[35m (0.4ms)[0m SELECT version FROM "schema_migrations"
|
|
431
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170622142833')[0m
|
|
432
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
433
|
+
[1m[36mPaperTrail::Version Load (0.5ms)[0m [1mSELECT DISTINCT item_type FROM "versions"[0m
|
|
434
|
+
[1m[35mPaperTrail::Version Load (0.2ms)[0m SELECT DISTINCT event FROM "versions"
|
|
435
|
+
[1m[36mPaperTrail::Version Load (0.2ms)[0m [1mSELECT DISTINCT whodunnit FROM "versions"[0m
|
|
436
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
437
|
+
Processing by PaperTrailUi::ReportsController#index as HTML
|
|
438
|
+
[1m[36mPaperTrail::Version Load (0.6ms)[0m [1mSELECT DISTINCT "versions".* FROM "versions"[0m
|
|
439
|
+
Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.6ms)
|
|
440
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
441
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
|
442
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
443
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "versions" ("event", "item_type", "item_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["event", "create"], ["item_type", "Test"], ["item_id", 1], ["created_at", "2017-06-22 15:21:29.687672"]]
|
|
444
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
445
|
+
Processing by PaperTrailUi::ReportsController#show as HTML
|
|
446
|
+
Parameters: {"id"=>"1"}
|
|
447
|
+
[1m[36mPaperTrail::Version Load (1.2ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."id" = $1 LIMIT 1[0m [["id", 1]]
|
|
448
|
+
Completed 500 Internal Server Error in 11ms (ActiveRecord: 1.2ms)
|
|
449
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
450
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
451
|
+
[1m[36m (106.7ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
452
|
+
[1m[35m (230.3ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
453
|
+
[1m[36mSQL (0.3ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
|
454
|
+
[1m[35m (8.4ms)[0m CREATE TABLE "versions" ("id" serial primary key, "item_type" character varying NOT NULL, "item_id" integer NOT NULL, "event" character varying NOT NULL, "whodunnit" character varying, "object" text, "created_at" timestamp)
|
|
455
|
+
[1m[36m (6.0ms)[0m [1mCREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" USING btree ("item_type", "item_id")[0m
|
|
456
|
+
[1m[35m (3.5ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
|
457
|
+
[1m[36m (3.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
458
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
|
459
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170622142833')[0m
|
|
460
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
461
|
+
[1m[36mPaperTrail::Version Load (0.9ms)[0m [1mSELECT DISTINCT item_type FROM "versions"[0m
|
|
462
|
+
[1m[35mPaperTrail::Version Load (0.3ms)[0m SELECT DISTINCT event FROM "versions"
|
|
463
|
+
[1m[36mPaperTrail::Version Load (0.2ms)[0m [1mSELECT DISTINCT whodunnit FROM "versions"[0m
|
|
464
|
+
[1m[35m (0.2ms)[0m BEGIN
|
|
465
|
+
Processing by PaperTrailUi::ReportsController#index as HTML
|
|
466
|
+
[1m[36mPaperTrail::Version Load (0.7ms)[0m [1mSELECT DISTINCT "versions".* FROM "versions"[0m
|
|
467
|
+
Rendered /home/nayefmuhiar/rails_projects/paper_trail_ui/app/views/paper_trail_ui/reports/index.html.erb (0.3ms)
|
|
468
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
|
469
|
+
Completed 200 OK in 12ms (Views: 9.7ms | ActiveRecord: 0.7ms)
|
|
470
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
471
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
472
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
473
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "versions" ("event", "item_type", "item_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["event", "create"], ["item_type", "Test"], ["item_id", 1], ["created_at", "2017-06-22 15:23:16.272638"]]
|
|
474
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
475
|
+
Processing by PaperTrailUi::ReportsController#show as HTML
|
|
476
|
+
Parameters: {"id"=>"1"}
|
|
477
|
+
[1m[36mPaperTrail::Version Load (0.3ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."id" = $1 LIMIT 1[0m [["id", 1]]
|
|
478
|
+
Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.3ms)
|
|
479
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
|
480
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
481
|
+
[1m[36m (106.6ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
482
|
+
[1m[35m (231.6ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
483
|
+
[1m[36mSQL (0.3ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
|
484
|
+
[1m[35m (8.3ms)[0m CREATE TABLE "versions" ("id" serial primary key, "item_type" character varying NOT NULL, "item_id" integer NOT NULL, "event" character varying NOT NULL, "whodunnit" character varying, "object" text, "created_at" timestamp)
|
|
485
|
+
[1m[36m (3.1ms)[0m [1mCREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" USING btree ("item_type", "item_id")[0m
|
|
486
|
+
[1m[35m (3.4ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
|
487
|
+
[1m[36m (3.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
488
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
|
489
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170622142833')[0m
|
|
490
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
491
|
+
[1m[36mPaperTrail::Version Load (0.7ms)[0m [1mSELECT DISTINCT item_type FROM "versions"[0m
|
|
492
|
+
[1m[35mPaperTrail::Version Load (0.3ms)[0m SELECT DISTINCT event FROM "versions"
|
|
493
|
+
[1m[36mPaperTrail::Version Load (0.2ms)[0m [1mSELECT DISTINCT whodunnit FROM "versions"[0m
|
|
494
|
+
[1m[35m (0.2ms)[0m BEGIN
|
|
495
|
+
Processing by PaperTrailUi::ReportsController#index as HTML
|
|
496
|
+
[1m[36mPaperTrail::Version Load (0.7ms)[0m [1mSELECT DISTINCT "versions".* FROM "versions"[0m
|
|
497
|
+
Rendered /home/nayefmuhiar/rails_projects/paper_trail_ui/app/views/paper_trail_ui/reports/index.html.haml within layouts/paper_trail_ui/application (0.3ms)
|
|
498
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
|
499
|
+
Completed 200 OK in 12ms (Views: 9.5ms | ActiveRecord: 0.7ms)
|
|
500
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
501
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
502
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
503
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "versions" ("event", "item_type", "item_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["event", "create"], ["item_type", "Test"], ["item_id", 1], ["created_at", "2017-06-22 15:23:52.584906"]]
|
|
504
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
|
505
|
+
Processing by PaperTrailUi::ReportsController#show as HTML
|
|
506
|
+
Parameters: {"id"=>"1"}
|
|
507
|
+
[1m[36mPaperTrail::Version Load (0.3ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."id" = $1 LIMIT 1[0m [["id", 1]]
|
|
508
|
+
Rendered /home/nayefmuhiar/rails_projects/paper_trail_ui/app/views/paper_trail_ui/reports/show.html.haml within layouts/paper_trail_ui/application (0.2ms)
|
|
509
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
|
510
|
+
Completed 200 OK in 11ms (Views: 2.6ms | ActiveRecord: 0.3ms)
|
|
511
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
512
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
513
|
+
[1m[36m (105.1ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
514
|
+
[1m[35m (232.5ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
515
|
+
[1m[36mSQL (0.3ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
|
516
|
+
[1m[35m (8.3ms)[0m CREATE TABLE "versions" ("id" serial primary key, "item_type" character varying NOT NULL, "item_id" integer NOT NULL, "event" character varying NOT NULL, "whodunnit" character varying, "object" text, "created_at" timestamp)
|
|
517
|
+
[1m[36m (6.0ms)[0m [1mCREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" USING btree ("item_type", "item_id")[0m
|
|
518
|
+
[1m[35m (6.4ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
|
519
|
+
[1m[36m (5.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
520
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
|
521
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170622142833')[0m
|
|
522
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
523
|
+
[1m[36mPaperTrail::Version Load (0.6ms)[0m [1mSELECT DISTINCT item_type FROM "versions"[0m
|
|
524
|
+
[1m[35mPaperTrail::Version Load (0.3ms)[0m SELECT DISTINCT event FROM "versions"
|
|
525
|
+
[1m[36mPaperTrail::Version Load (0.3ms)[0m [1mSELECT DISTINCT whodunnit FROM "versions"[0m
|
|
526
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
527
|
+
Processing by PaperTrailUi::ReportsController#index as HTML
|
|
528
|
+
[1m[36mPaperTrail::Version Load (0.7ms)[0m [1mSELECT DISTINCT "versions".* FROM "versions"[0m
|
|
529
|
+
Rendered /home/nayefmuhiar/rails_projects/paper_trail_ui/app/views/paper_trail_ui/reports/index.html.haml within layouts/paper_trail_ui/application (0.3ms)
|
|
530
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
|
531
|
+
Completed 200 OK in 12ms (Views: 9.4ms | ActiveRecord: 0.7ms)
|
|
532
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
533
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
534
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
535
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "versions" ("event", "item_type", "created_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["event", "create"], ["item_type", "Test"], ["created_at", "2017-06-22 15:24:29.237465"]]
|
|
536
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
537
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
538
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
539
|
+
[1m[36m (105.3ms)[0m [1mDROP DATABASE IF EXISTS "paper_trail_ui_test"[0m
|
|
540
|
+
[1m[35m (233.9ms)[0m CREATE DATABASE "paper_trail_ui_test" ENCODING = 'unicode'
|
|
541
|
+
[1m[36mSQL (0.3ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
|
542
|
+
[1m[35m (8.4ms)[0m CREATE TABLE "versions" ("id" serial primary key, "item_type" character varying NOT NULL, "item_id" integer NOT NULL, "event" character varying NOT NULL, "whodunnit" character varying, "object" text, "created_at" timestamp)
|
|
543
|
+
[1m[36m (3.2ms)[0m [1mCREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" USING btree ("item_type", "item_id")[0m
|
|
544
|
+
[1m[35m (3.5ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
|
545
|
+
[1m[36m (2.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
546
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
|
547
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170622142833')[0m
|
|
548
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
549
|
+
[1m[36mPaperTrail::Version Load (0.6ms)[0m [1mSELECT DISTINCT item_type FROM "versions"[0m
|
|
550
|
+
[1m[35mPaperTrail::Version Load (0.3ms)[0m SELECT DISTINCT event FROM "versions"
|
|
551
|
+
[1m[36mPaperTrail::Version Load (0.2ms)[0m [1mSELECT DISTINCT whodunnit FROM "versions"[0m
|
|
552
|
+
[1m[35m (0.2ms)[0m BEGIN
|
|
553
|
+
Processing by PaperTrailUi::ReportsController#index as HTML
|
|
554
|
+
[1m[36mPaperTrail::Version Load (0.9ms)[0m [1mSELECT DISTINCT "versions".* FROM "versions"[0m
|
|
555
|
+
Rendered /home/nayefmuhiar/rails_projects/paper_trail_ui/app/views/paper_trail_ui/reports/index.html.haml within layouts/paper_trail_ui/application (0.3ms)
|
|
556
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
|
557
|
+
Completed 200 OK in 13ms (Views: 10.3ms | ActiveRecord: 0.9ms)
|
|
558
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
|
559
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
560
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
561
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "versions" ("event", "item_type", "item_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["event", "create"], ["item_type", "Test"], ["item_id", 1], ["created_at", "2017-06-22 15:24:54.129869"]]
|
|
562
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
563
|
+
Processing by PaperTrailUi::ReportsController#show as HTML
|
|
564
|
+
Parameters: {"id"=>"1"}
|
|
565
|
+
[1m[36mPaperTrail::Version Load (0.2ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."id" = $1 LIMIT 1[0m [["id", 1]]
|
|
566
|
+
Rendered /home/nayefmuhiar/rails_projects/paper_trail_ui/app/views/paper_trail_ui/reports/show.html.haml within layouts/paper_trail_ui/application (0.2ms)
|
|
567
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
|
568
|
+
Completed 200 OK in 10ms (Views: 1.9ms | ActiveRecord: 0.2ms)
|
|
569
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|