okei 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/okei/api/v1/{responder.rb → responder_controller.rb} +1 -1
- data/app/controllers/okei/api/v1/units_controller.rb +2 -2
- data/lib/okei/version.rb +1 -1
- data/spec/controllers/okei/api/v1/{responder_spec.rb → responder_controller_spec.rb} +4 -4
- data/spec/dummy/app/views/okei/api/v1/responder/errors.json +0 -0
- data/spec/dummy/app/views/okei/api/v1/responder/index.json +0 -0
- data/spec/dummy/app/views/okei/api/v1/responder/show.json +0 -0
- data/spec/dummy/db/schema.rb +49 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +2241 -0
- metadata +17 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a418052c1bc3ff9739db9889d24e4f751aadb187
|
4
|
+
data.tar.gz: 45ed7957c003b003290d85653edc7ffafeae7d92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c98c4892af2d33053ecdb9ca737f689c6b91abd85d6f291611dc695ded177eb9121a9ec99ad9be165702347ae70817fcb6ee9ffb9ff85c95e79a3fda6c505b94
|
7
|
+
data.tar.gz: a917875943e595efb60a21ab805102f7d6e3984cf33bfa63d3e5c29ac8d4755d9b12a62ffbb7f142287c1412f68e8a3d8a1fa42001ee37babe9eab87808581b8
|
@@ -9,7 +9,7 @@ module Okei
|
|
9
9
|
module V1
|
10
10
|
|
11
11
|
# Controller for getting units
|
12
|
-
class UnitsController <
|
12
|
+
class UnitsController < ResponderController
|
13
13
|
|
14
14
|
# Returns either all units of measure or units of given measure.
|
15
15
|
def index
|
@@ -32,7 +32,7 @@ module Okei
|
|
32
32
|
# subscribes for its results and then runs a use case.
|
33
33
|
#
|
34
34
|
# After running, the use case will call a method defined in the
|
35
|
-
# `
|
35
|
+
# `ResponderController` base class.
|
36
36
|
#
|
37
37
|
def run_case(klass, with:)
|
38
38
|
use_case = klass.new params.permit(*with)
|
data/lib/okei/version.rb
CHANGED
@@ -4,13 +4,13 @@ require "spec_helper"
|
|
4
4
|
module Okei
|
5
5
|
module Api
|
6
6
|
module V1
|
7
|
-
describe
|
7
|
+
describe ResponderController do
|
8
8
|
|
9
9
|
routes { Okei::Engine.routes }
|
10
10
|
|
11
11
|
describe "#on_success" do
|
12
12
|
|
13
|
-
controller(
|
13
|
+
controller(ResponderController) { def index; on_success :units; end }
|
14
14
|
before { get :index, format: :json }
|
15
15
|
|
16
16
|
it "sets @units" do
|
@@ -28,7 +28,7 @@ module Okei
|
|
28
28
|
|
29
29
|
describe "#on_found" do
|
30
30
|
|
31
|
-
controller(
|
31
|
+
controller(ResponderController) { def index; on_found :unit; end }
|
32
32
|
before { get :index, format: :json }
|
33
33
|
|
34
34
|
it "sets @unit" do
|
@@ -46,7 +46,7 @@ module Okei
|
|
46
46
|
|
47
47
|
describe "#on_not_found" do
|
48
48
|
|
49
|
-
controller(
|
49
|
+
controller(ResponderController) do
|
50
50
|
def index; on_not_found :messages; end
|
51
51
|
end
|
52
52
|
before { get :index, format: :json }
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,49 @@
|
|
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: 20141019072902) do
|
15
|
+
|
16
|
+
create_table "corrector_bases", force: true do |t|
|
17
|
+
t.string "type", limit: 6
|
18
|
+
t.string "from", null: false
|
19
|
+
t.string "to", null: false
|
20
|
+
t.string "scope"
|
21
|
+
end
|
22
|
+
|
23
|
+
add_index "corrector_bases", ["scope", "from"], name: "index_corrector_bases_on_scope_and_from", unique: true
|
24
|
+
add_index "corrector_bases", ["type"], name: "index_corrector_bases_on_type"
|
25
|
+
|
26
|
+
create_table "okei_units", force: true do |t|
|
27
|
+
t.string "name", null: false
|
28
|
+
t.string "code", null: false
|
29
|
+
t.string "num", limit: 3
|
30
|
+
t.string "int_code", limit: 4
|
31
|
+
t.string "base", null: false
|
32
|
+
t.string "measure", null: false
|
33
|
+
t.float "factor", null: false
|
34
|
+
end
|
35
|
+
|
36
|
+
add_index "okei_units", ["base"], name: "index_okei_units_on_base"
|
37
|
+
add_index "okei_units", ["code"], name: "index_okei_units_on_code", unique: true
|
38
|
+
add_index "okei_units", ["measure"], name: "index_okei_units_on_measure"
|
39
|
+
|
40
|
+
create_table "uuids_uuids", force: true do |t|
|
41
|
+
t.string "value", limit: 36, null: false
|
42
|
+
t.integer "record_id", null: false
|
43
|
+
t.string "record_type", null: false
|
44
|
+
end
|
45
|
+
|
46
|
+
add_index "uuids_uuids", ["record_id", "record_type"], name: "index_uuids_uuids_on_record_id_and_record_type"
|
47
|
+
add_index "uuids_uuids", ["value"], name: "index_uuids_uuids_on_value", unique: true
|
48
|
+
|
49
|
+
end
|
Binary file
|
@@ -0,0 +1,2241 @@
|
|
1
|
+
[1m[36m (5.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
3
|
+
[1m[36m (3.4ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
5
|
+
Migrating to CreateCorrectorBases (20141018085223)
|
6
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "corrector_bases" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(6), "from" varchar(255) NOT NULL, "to" varchar(255) NOT NULL, "scope" varchar(255))
|
8
|
+
[1m[36m (0.3ms)[0m [1mCREATE UNIQUE INDEX "index_corrector_bases_on_scope_and_from" ON "corrector_bases" ("scope", "from")[0m
|
9
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
10
|
+
FROM sqlite_master
|
11
|
+
WHERE name='index_corrector_bases_on_scope_and_from' AND type='index'
|
12
|
+
UNION ALL
|
13
|
+
SELECT sql
|
14
|
+
FROM sqlite_temp_master
|
15
|
+
WHERE name='index_corrector_bases_on_scope_and_from' AND type='index'
|
16
|
+
|
17
|
+
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_corrector_bases_on_type" ON "corrector_bases" ("type")[0m
|
18
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141018085223"]]
|
19
|
+
[1m[36m (3.3ms)[0m [1mcommit transaction[0m
|
20
|
+
Migrating to CreateUuidsUuids (20141018085226)
|
21
|
+
[1m[35m (0.1ms)[0m begin transaction
|
22
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "uuids_uuids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" varchar(36) NOT NULL, "record_id" integer NOT NULL, "record_type" varchar(255) NOT NULL) [0m
|
23
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_uuids_uuids_on_record_id_and_record_type" ON "uuids_uuids" ("record_id", "record_type")
|
24
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
25
|
+
FROM sqlite_master
|
26
|
+
WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
|
27
|
+
UNION ALL
|
28
|
+
SELECT sql
|
29
|
+
FROM sqlite_temp_master
|
30
|
+
WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
|
31
|
+
[0m
|
32
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "index_uuids_uuids_on_value" ON "uuids_uuids" ("value")
|
33
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141018085226"]]
|
34
|
+
[1m[35m (3.0ms)[0m commit transaction
|
35
|
+
Migrating to CreateOkeiUnits (20141019072900)
|
36
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "okei_units" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "code" varchar(255) NOT NULL, "num" varchar(3), "int_code" varchar(4), "base" varchar(255) NOT NULL, "measure" varchar(255) NOT NULL, "factor" float NOT NULL)
|
38
|
+
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "index_okei_units_on_code" ON "okei_units" ("code")[0m
|
39
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
40
|
+
FROM sqlite_master
|
41
|
+
WHERE name='index_okei_units_on_code' AND type='index'
|
42
|
+
UNION ALL
|
43
|
+
SELECT sql
|
44
|
+
FROM sqlite_temp_master
|
45
|
+
WHERE name='index_okei_units_on_code' AND type='index'
|
46
|
+
|
47
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_okei_units_on_base" ON "okei_units" ("base")[0m
|
48
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
49
|
+
FROM sqlite_master
|
50
|
+
WHERE name='index_okei_units_on_base' AND type='index'
|
51
|
+
UNION ALL
|
52
|
+
SELECT sql
|
53
|
+
FROM sqlite_temp_master
|
54
|
+
WHERE name='index_okei_units_on_base' AND type='index'
|
55
|
+
|
56
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
57
|
+
FROM sqlite_master
|
58
|
+
WHERE name='index_okei_units_on_code' AND type='index'
|
59
|
+
UNION ALL
|
60
|
+
SELECT sql
|
61
|
+
FROM sqlite_temp_master
|
62
|
+
WHERE name='index_okei_units_on_code' AND type='index'
|
63
|
+
[0m
|
64
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_okei_units_on_measure" ON "okei_units" ("measure")
|
65
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141019072900"]]
|
66
|
+
[1m[35m (4.1ms)[0m commit transaction
|
67
|
+
Migrating to PopulateOkeiUnits (20141019072901)
|
68
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
69
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141019072901"]]
|
70
|
+
[1m[36m (3.3ms)[0m [1mcommit transaction[0m
|
71
|
+
Migrating to PopulateOkeiCorrectors (20141019072902)
|
72
|
+
[1m[35m (0.1ms)[0m begin transaction
|
73
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141019072902"]]
|
74
|
+
[1m[35m (2.3ms)[0m commit transaction
|
75
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
76
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
77
|
+
FROM sqlite_master
|
78
|
+
WHERE name='index_corrector_bases_on_type' AND type='index'
|
79
|
+
UNION ALL
|
80
|
+
SELECT sql
|
81
|
+
FROM sqlite_temp_master
|
82
|
+
WHERE name='index_corrector_bases_on_type' AND type='index'
|
83
|
+
|
84
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
85
|
+
FROM sqlite_master
|
86
|
+
WHERE name='index_corrector_bases_on_scope_and_from' AND type='index'
|
87
|
+
UNION ALL
|
88
|
+
SELECT sql
|
89
|
+
FROM sqlite_temp_master
|
90
|
+
WHERE name='index_corrector_bases_on_scope_and_from' AND type='index'
|
91
|
+
[0m
|
92
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
93
|
+
FROM sqlite_master
|
94
|
+
WHERE name='index_okei_units_on_measure' AND type='index'
|
95
|
+
UNION ALL
|
96
|
+
SELECT sql
|
97
|
+
FROM sqlite_temp_master
|
98
|
+
WHERE name='index_okei_units_on_measure' AND type='index'
|
99
|
+
|
100
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
101
|
+
FROM sqlite_master
|
102
|
+
WHERE name='index_okei_units_on_base' AND type='index'
|
103
|
+
UNION ALL
|
104
|
+
SELECT sql
|
105
|
+
FROM sqlite_temp_master
|
106
|
+
WHERE name='index_okei_units_on_base' AND type='index'
|
107
|
+
[0m
|
108
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
109
|
+
FROM sqlite_master
|
110
|
+
WHERE name='index_okei_units_on_code' AND type='index'
|
111
|
+
UNION ALL
|
112
|
+
SELECT sql
|
113
|
+
FROM sqlite_temp_master
|
114
|
+
WHERE name='index_okei_units_on_code' AND type='index'
|
115
|
+
|
116
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
117
|
+
FROM sqlite_master
|
118
|
+
WHERE name='index_uuids_uuids_on_value' AND type='index'
|
119
|
+
UNION ALL
|
120
|
+
SELECT sql
|
121
|
+
FROM sqlite_temp_master
|
122
|
+
WHERE name='index_uuids_uuids_on_value' AND type='index'
|
123
|
+
[0m
|
124
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
125
|
+
FROM sqlite_master
|
126
|
+
WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
|
127
|
+
UNION ALL
|
128
|
+
SELECT sql
|
129
|
+
FROM sqlite_temp_master
|
130
|
+
WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
|
131
|
+
|
132
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
133
|
+
[1m[35m (5.4ms)[0m DELETE FROM "corrector_bases";
|
134
|
+
[1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
135
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'corrector_bases';
|
136
|
+
[1m[36m (3.3ms)[0m [1mDELETE FROM "uuids_uuids";[0m
|
137
|
+
[1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
138
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'uuids_uuids';[0m
|
139
|
+
[1m[35m (3.1ms)[0m DELETE FROM "okei_units";
|
140
|
+
[1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
141
|
+
[1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'okei_units';
|
142
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
143
|
+
[1m[35m (0.1ms)[0m commit transaction
|
144
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
145
|
+
Processing by Okei::Api::V1::Responder#index as JSON
|
146
|
+
Completed 500 Internal Server Error in 7ms
|
147
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
148
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
149
|
+
[1m[35m (0.0ms)[0m commit transaction
|
150
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
151
|
+
Processing by Okei::Api::V1::Responder#index as JSON
|
152
|
+
Completed 500 Internal Server Error in 1ms
|
153
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
154
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
155
|
+
[1m[35m (0.0ms)[0m commit transaction
|
156
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
157
|
+
Processing by Okei::Api::V1::Responder#index as JSON
|
158
|
+
Completed 500 Internal Server Error in 1ms
|
159
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
160
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
161
|
+
[1m[35m (0.0ms)[0m commit transaction
|
162
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
163
|
+
Processing by Okei::Api::V1::Responder#index as JSON
|
164
|
+
Completed 500 Internal Server Error in 1ms
|
165
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
166
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
167
|
+
[1m[35m (0.0ms)[0m commit transaction
|
168
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
169
|
+
Processing by Okei::Api::V1::Responder#index as JSON
|
170
|
+
Completed 500 Internal Server Error in 1ms
|
171
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
172
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
173
|
+
[1m[35m (0.0ms)[0m commit transaction
|
174
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
175
|
+
Processing by Okei::Api::V1::Responder#index as JSON
|
176
|
+
Completed 500 Internal Server Error in 1ms
|
177
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
178
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
179
|
+
[1m[35m (0.0ms)[0m commit transaction
|
180
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
181
|
+
Processing by Okei::Api::V1::UnitsController#index as JSON
|
182
|
+
Completed 404 Not Found in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
183
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
184
|
+
[1m[36m (0.8ms)[0m [1mbegin transaction[0m
|
185
|
+
[1m[35m (0.1ms)[0m commit transaction
|
186
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
187
|
+
Processing by Okei::Api::V1::UnitsController#index as JSON
|
188
|
+
Completed 404 Not Found in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
189
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
190
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
191
|
+
[1m[35m (0.0ms)[0m commit transaction
|
192
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
193
|
+
Processing by Okei::Api::V1::UnitsController#index as JSON
|
194
|
+
Completed 404 Not Found in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)
|
195
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
196
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
197
|
+
[1m[35m (0.0ms)[0m commit transaction
|
198
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
199
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
200
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
201
|
+
[1m[35m (0.0ms)[0m commit transaction
|
202
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
203
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
204
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
205
|
+
[1m[35m (0.0ms)[0m commit transaction
|
206
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
207
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
208
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
209
|
+
[1m[35m (0.0ms)[0m commit transaction
|
210
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
211
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
212
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
213
|
+
[1m[35m (0.0ms)[0m commit transaction
|
214
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
215
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
216
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
217
|
+
[1m[35m (0.0ms)[0m commit transaction
|
218
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
219
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
220
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
221
|
+
[1m[35m (0.0ms)[0m commit transaction
|
222
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
223
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
224
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
225
|
+
[1m[35m (0.0ms)[0m commit transaction
|
226
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
227
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 1' LIMIT 1
|
228
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 1' LIMIT 1[0m
|
229
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 1' LIMIT 1
|
230
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
231
|
+
[1m[35m (0.0ms)[0m begin transaction
|
232
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
233
|
+
[1m[35m (0.0ms)[0m begin transaction
|
234
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 2' LIMIT 1[0m
|
235
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 2' LIMIT 1
|
236
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 2' LIMIT 1[0m
|
237
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 2' LIMIT 1
|
238
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
239
|
+
[1m[35m (0.0ms)[0m begin transaction
|
240
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
241
|
+
[1m[35m (0.0ms)[0m begin transaction
|
242
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 3' LIMIT 1[0m
|
243
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 3' LIMIT 1
|
244
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
245
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 3' LIMIT 1
|
246
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 4' LIMIT 1[0m
|
247
|
+
[1m[35mSQL (2.2ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 3"], ["factor", 856.7], ["int_code", "EEE"], ["measure", "Длина"], ["name", "Единица 4"], ["num", "005"]]
|
248
|
+
[1m[36mOkei::Unit Load (0.2ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
249
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "d13bd410-0788-4d60-a043-517d2263e3a5"]]
|
250
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
251
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 3' LIMIT 1
|
252
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 3' LIMIT 1[0m
|
253
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
254
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
255
|
+
[1m[35m (0.0ms)[0m commit transaction
|
256
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
257
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 4' LIMIT 1
|
258
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 5' LIMIT 1[0m
|
259
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 5' LIMIT 1
|
260
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
261
|
+
[1m[35m (0.0ms)[0m begin transaction
|
262
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
263
|
+
[1m[35m (0.0ms)[0m begin transaction
|
264
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 5' LIMIT 1[0m
|
265
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 6' LIMIT 1
|
266
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 5' LIMIT 1[0m
|
267
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 6' LIMIT 1
|
268
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 5' LIMIT 1[0m
|
269
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 6' LIMIT 1
|
270
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 5' LIMIT 1[0m
|
271
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 6' LIMIT 1
|
272
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
273
|
+
[1m[35m (0.0ms)[0m begin transaction
|
274
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
275
|
+
[1m[35m (0.1ms)[0m begin transaction
|
276
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 6' LIMIT 1[0m
|
277
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 7' LIMIT 1
|
278
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 6' LIMIT 1[0m
|
279
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 7' LIMIT 1
|
280
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
281
|
+
[1m[35m (0.0ms)[0m begin transaction
|
282
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
283
|
+
[1m[35m (0.0ms)[0m begin transaction
|
284
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 7' LIMIT 1[0m
|
285
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 8' LIMIT 1
|
286
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
287
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 8' LIMIT 1
|
288
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 9' LIMIT 1[0m
|
289
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 8"], ["factor", 438.32], ["int_code", "III"], ["measure", "Длина"], ["name", "Единица 9"], ["num", "010"]]
|
290
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
291
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "faad80e8-b5fb-402f-b960-5a72c72577e2"]]
|
292
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
293
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 7' LIMIT 1
|
294
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 8' LIMIT 1[0m
|
295
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
296
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
297
|
+
[1m[35m (0.0ms)[0m commit transaction
|
298
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
299
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 9' LIMIT 1
|
300
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 10' LIMIT 1[0m
|
301
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
302
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 10' LIMIT 1[0m
|
303
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 10' LIMIT 1
|
304
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ЕИ 10"], ["factor", 939.51], ["int_code", "KKK"], ["measure", "Длина"], ["name", "Единица 10"], ["num", "012"]]
|
305
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
306
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "8aa45c4a-f66a-44ff-a3b1-050f4a7ba887"]]
|
307
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
308
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 9' LIMIT 1[0m
|
309
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 10' LIMIT 1
|
310
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
311
|
+
[1m[35m (0.0ms)[0m begin transaction
|
312
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
313
|
+
[1m[35m (0.0ms)[0m begin transaction
|
314
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 11' LIMIT 1[0m
|
315
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 11' LIMIT 1
|
316
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 11' LIMIT 1[0m
|
317
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 11' LIMIT 1
|
318
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 11' LIMIT 1[0m
|
319
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 11' LIMIT 1
|
320
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
321
|
+
[1m[35m (0.0ms)[0m begin transaction
|
322
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
323
|
+
[1m[35m (0.0ms)[0m begin transaction
|
324
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 12' LIMIT 1[0m
|
325
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 12' LIMIT 1
|
326
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 12' LIMIT 1[0m
|
327
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 12' LIMIT 1
|
328
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
329
|
+
[1m[35m (0.0ms)[0m begin transaction
|
330
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
331
|
+
[1m[35m (0.0ms)[0m begin transaction
|
332
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 13' LIMIT 1[0m
|
333
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 13' LIMIT 1
|
334
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
335
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 14' LIMIT 1
|
336
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 14' LIMIT 1[0m
|
337
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 14"], ["factor", 681.05], ["int_code", "OOO"], ["measure", "Длина"], ["name", "Единица 14"], ["num", "015"]]
|
338
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
339
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "ff2e9e63-9a7e-49df-ba7e-523cf2ac1973"]]
|
340
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
341
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 13' LIMIT 1
|
342
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 13' LIMIT 1[0m
|
343
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
344
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
345
|
+
[1m[35m (0.0ms)[0m commit transaction
|
346
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
347
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 15' LIMIT 1
|
348
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 15' LIMIT 1[0m
|
349
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 15' LIMIT 1
|
350
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 15' LIMIT 1[0m
|
351
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
352
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
353
|
+
[1m[35m (0.0ms)[0m commit transaction
|
354
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
355
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 16' LIMIT 1
|
356
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 16' LIMIT 1[0m
|
357
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 16' LIMIT 1
|
358
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 16' LIMIT 1[0m
|
359
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
360
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
361
|
+
[1m[35m (0.0ms)[0m commit transaction
|
362
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
363
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
364
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
365
|
+
[1m[35m (0.0ms)[0m commit transaction
|
366
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
367
|
+
Processing by Okei::Api::V1::UnitsController#index as HTML
|
368
|
+
Parameters: {"measure"=>"measure", "code"=>"code"}
|
369
|
+
Unpermitted parameters: code
|
370
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
371
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
372
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
373
|
+
[1m[35m (0.0ms)[0m commit transaction
|
374
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
375
|
+
Processing by Okei::Api::V1::UnitsController#index as HTML
|
376
|
+
Parameters: {"measure"=>"measure", "code"=>"code"}
|
377
|
+
Unpermitted parameters: code
|
378
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
379
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
380
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
381
|
+
[1m[35m (0.0ms)[0m commit transaction
|
382
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
383
|
+
Processing by Okei::Api::V1::UnitsController#index as HTML
|
384
|
+
Parameters: {"measure"=>"measure", "code"=>"code"}
|
385
|
+
Unpermitted parameters: code
|
386
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
387
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
388
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
389
|
+
[1m[35m (0.0ms)[0m commit transaction
|
390
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
391
|
+
Processing by Okei::Api::V1::UnitsController#search as HTML
|
392
|
+
Parameters: {"text"=>"text", "wrong"=>"wrong"}
|
393
|
+
Unpermitted parameters: wrong
|
394
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
395
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
396
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
397
|
+
[1m[35m (0.0ms)[0m commit transaction
|
398
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
399
|
+
Processing by Okei::Api::V1::UnitsController#search as HTML
|
400
|
+
Parameters: {"text"=>"text", "wrong"=>"wrong"}
|
401
|
+
Unpermitted parameters: wrong
|
402
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
403
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
404
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
405
|
+
[1m[35m (0.0ms)[0m commit transaction
|
406
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
407
|
+
Processing by Okei::Api::V1::UnitsController#search as HTML
|
408
|
+
Parameters: {"text"=>"text", "wrong"=>"wrong"}
|
409
|
+
Unpermitted parameters: wrong
|
410
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
411
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
412
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
413
|
+
[1m[35m (0.0ms)[0m commit transaction
|
414
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
415
|
+
Processing by Okei::Api::V1::UnitsController#show as HTML
|
416
|
+
Parameters: {"wrong"=>"wrong", "uuid"=>"00000000-0000-0000-0000-000000000000"}
|
417
|
+
Unpermitted parameters: wrong
|
418
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
419
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
420
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
421
|
+
[1m[35m (0.0ms)[0m commit transaction
|
422
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
423
|
+
Processing by Okei::Api::V1::UnitsController#show as HTML
|
424
|
+
Parameters: {"wrong"=>"wrong", "uuid"=>"00000000-0000-0000-0000-000000000000"}
|
425
|
+
Unpermitted parameters: wrong
|
426
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
427
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
428
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
429
|
+
[1m[35m (0.0ms)[0m commit transaction
|
430
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
431
|
+
Processing by Okei::Api::V1::UnitsController#show as HTML
|
432
|
+
Parameters: {"wrong"=>"wrong", "uuid"=>"00000000-0000-0000-0000-000000000000"}
|
433
|
+
Unpermitted parameters: wrong
|
434
|
+
Completed 200 OK in 4ms (Views: 4.2ms | ActiveRecord: 0.0ms)
|
435
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
436
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
437
|
+
[1m[35m (0.0ms)[0m commit transaction
|
438
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
439
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
440
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1[0m
|
441
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 17' LIMIT 1
|
442
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 357.28], ["int_code", "RRR"], ["measure", "Длина"], ["name", "Единица 17"], ["num", "018"]]
|
443
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
444
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "08753b8c-5553-4e47-a046-f99018285817"]]
|
445
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
446
|
+
Started GET "/okei/api/v1/units/search?text=%D0%BA%D0%B8%D0%BB%D0%BE%D0%BC%D0%B5%D1%82%D1%80%D0%BE%D0%B2+%D0%B2+%D1%81%D0%B5%D0%BA" for 127.0.0.1 at 2014-10-23 10:21:14 +0400
|
447
|
+
Processing by Okei::Api::V1::UnitsController#search as JSON
|
448
|
+
Parameters: {"text"=>"километров в сек"}
|
449
|
+
Unpermitted parameters: format
|
450
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1[0m
|
451
|
+
[1m[35mUuids::Uuid Load (0.2ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? ORDER BY "uuids_uuids"."id" ASC LIMIT 1 [["record_id", 1], ["record_type", "Okei::Unit"]]
|
452
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (1.4ms)
|
453
|
+
Completed 200 OK in 12ms (Views: 8.0ms | ActiveRecord: 0.3ms)
|
454
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
455
|
+
[1m[35m (0.0ms)[0m begin transaction
|
456
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
457
|
+
[1m[35m (0.0ms)[0m begin transaction
|
458
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
459
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
|
460
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 18' LIMIT 1[0m
|
461
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 811.69], ["int_code", "SSS"], ["measure", "Длина"], ["name", "Единица 18"], ["num", "019"]]
|
462
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
463
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "a1a80c64-87d6-46e4-b051-be3c7848d411"]]
|
464
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
465
|
+
Started GET "/okei/api/v1/units/search?text=%D0%BA%D0%B8%D0%BB%D0%BE%D0%BC%D0%B5%D1%82%D1%80%D0%BE%D0%B2+%D0%B2+%D1%81%D0%B5%D0%BA" for 127.0.0.1 at 2014-10-23 10:21:14 +0400
|
466
|
+
Processing by Okei::Api::V1::UnitsController#search as JSON
|
467
|
+
Parameters: {"text"=>"километров в сек"}
|
468
|
+
Unpermitted parameters: format
|
469
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1
|
470
|
+
[1m[36mUuids::Uuid Load (0.1ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? ORDER BY "uuids_uuids"."id" ASC LIMIT 1[0m [["record_id", 1], ["record_type", "Okei::Unit"]]
|
471
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.8ms)
|
472
|
+
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms)
|
473
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
474
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
475
|
+
[1m[35m (0.0ms)[0m commit transaction
|
476
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
477
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
478
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1[0m
|
479
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 19' LIMIT 1
|
480
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 184.2], ["int_code", "TTT"], ["measure", "Длина"], ["name", "Единица 19"], ["num", "020"]]
|
481
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
482
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "380e0229-97dc-4747-95cd-8c8d80e6a0cf"]]
|
483
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
484
|
+
Started GET "/okei/api/v1/units/search?text=%D0%BA%D0%B8%D0%BB%D0%BE%D0%BC%D0%B5%D1%82%D1%80%D0%BE%D0%B2+%D0%B2+%D1%81%D0%B5%D0%BA" for 127.0.0.1 at 2014-10-23 10:21:14 +0400
|
485
|
+
Processing by Okei::Api::V1::UnitsController#search as JSON
|
486
|
+
Parameters: {"text"=>"километров в сек"}
|
487
|
+
Unpermitted parameters: format
|
488
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1[0m
|
489
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? ORDER BY "uuids_uuids"."id" ASC LIMIT 1 [["record_id", 1], ["record_type", "Okei::Unit"]]
|
490
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.8ms)
|
491
|
+
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms)
|
492
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
493
|
+
[1m[35m (0.0ms)[0m begin transaction
|
494
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
495
|
+
[1m[35m (0.0ms)[0m begin transaction
|
496
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
497
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
|
498
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 20' LIMIT 1[0m
|
499
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 614.91], ["int_code", "UUU"], ["measure", "Длина"], ["name", "Единица 20"], ["num", "021"]]
|
500
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
501
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "0cf70137-bdba-49e6-aea7-4681e4104c7a"]]
|
502
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
503
|
+
Started GET "/okei/api/v1/units/search?text=wrong+text" for 127.0.0.1 at 2014-10-23 10:21:14 +0400
|
504
|
+
Processing by Okei::Api::V1::UnitsController#search as JSON
|
505
|
+
Parameters: {"text"=>"wrong text"}
|
506
|
+
Unpermitted parameters: format
|
507
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'wrong text' ORDER BY "okei_units"."id" ASC LIMIT 1
|
508
|
+
Completed 404 Not Found in 4ms (Views: 2.2ms | ActiveRecord: 0.1ms)
|
509
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
510
|
+
[1m[35m (0.0ms)[0m begin transaction
|
511
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
512
|
+
[1m[35m (0.0ms)[0m begin transaction
|
513
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
514
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
|
515
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 21' LIMIT 1[0m
|
516
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 460.23], ["int_code", "VVV"], ["measure", "Длина"], ["name", "Единица 21"], ["num", "022"]]
|
517
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
518
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "1cfd00a4-b5c8-4ffe-92de-3875cfa1dbdd"]]
|
519
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
520
|
+
Started GET "/okei/api/v1/units/search?text=wrong+text" for 127.0.0.1 at 2014-10-23 10:21:14 +0400
|
521
|
+
Processing by Okei::Api::V1::UnitsController#search as JSON
|
522
|
+
Parameters: {"text"=>"wrong text"}
|
523
|
+
Unpermitted parameters: format
|
524
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'wrong text' ORDER BY "okei_units"."id" ASC LIMIT 1
|
525
|
+
Completed 404 Not Found in 4ms (Views: 2.2ms | ActiveRecord: 0.1ms)
|
526
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
527
|
+
[1m[35m (0.0ms)[0m begin transaction
|
528
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
529
|
+
[1m[35m (0.0ms)[0m begin transaction
|
530
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
531
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 17' LIMIT 1
|
532
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 22' LIMIT 1[0m
|
533
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 17"], ["factor", 799.21], ["int_code", "WWW"], ["measure", "Длина"], ["name", "Единица 22"], ["num", "023"]]
|
534
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
535
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "97d6c3c8-1cba-4cbc-824d-ef4554729fd1"]]
|
536
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
537
|
+
[1m[35mOkei::Unit Load (0.2ms)[0m SELECT DISTINCT "okei_units".* FROM "okei_units" INNER JOIN "uuids_uuids" ON "uuids_uuids"."record_id" = "okei_units"."id" AND "uuids_uuids"."record_type" = 'Okei::Unit' WHERE "uuids_uuids"."value" = '97d6c3c8-1cba-4cbc-824d-ef4554729fd1' ORDER BY "okei_units"."id" ASC LIMIT 1
|
538
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
539
|
+
[1m[35m (0.0ms)[0m begin transaction
|
540
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
541
|
+
[1m[35m (0.0ms)[0m begin transaction
|
542
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
543
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 18' LIMIT 1
|
544
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 23' LIMIT 1[0m
|
545
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 18"], ["factor", 577.24], ["int_code", "XXA"], ["measure", "Длина"], ["name", "Единица 23"], ["num", "024"]]
|
546
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
547
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "c5ebe6c6-bf30-4c85-a7d3-f7584fdbc695"]]
|
548
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
549
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT DISTINCT "okei_units".* FROM "okei_units" INNER JOIN "uuids_uuids" ON "uuids_uuids"."record_id" = "okei_units"."id" AND "uuids_uuids"."record_type" = 'Okei::Unit' WHERE "uuids_uuids"."value" = 'c5ebe6c6-bf30-4c85-a7d3-f7584fdbc695' ORDER BY "okei_units"."id" ASC LIMIT 1
|
550
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
551
|
+
[1m[35m (0.0ms)[0m begin transaction
|
552
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
553
|
+
[1m[35m (0.0ms)[0m begin transaction
|
554
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
555
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 19' LIMIT 1
|
556
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 24' LIMIT 1[0m
|
557
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 19"], ["factor", 959.22], ["int_code", "YAB"], ["measure", "Длина"], ["name", "Единица 24"], ["num", "025"]]
|
558
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
559
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "60fc5905-a169-4555-84e8-ff71faadcc93"]]
|
560
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
561
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT DISTINCT "okei_units".* FROM "okei_units" INNER JOIN "uuids_uuids" ON "uuids_uuids"."record_id" = "okei_units"."id" AND "uuids_uuids"."record_type" = 'Okei::Unit' WHERE "uuids_uuids"."value" = 'wrong' ORDER BY "okei_units"."id" ASC LIMIT 1
|
562
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
563
|
+
[1m[35m (0.0ms)[0m begin transaction
|
564
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
565
|
+
[1m[35m (0.0ms)[0m begin transaction
|
566
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
567
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 20' LIMIT 1
|
568
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 25' LIMIT 1[0m
|
569
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 20"], ["factor", 457.71], ["int_code", "ABC"], ["measure", "Длина"], ["name", "Единица 25"], ["num", "026"]]
|
570
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
571
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "5cc4ca12-a568-4bf6-b9bb-b1b490ba9adc"]]
|
572
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
573
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT DISTINCT "okei_units".* FROM "okei_units" INNER JOIN "uuids_uuids" ON "uuids_uuids"."record_id" = "okei_units"."id" AND "uuids_uuids"."record_type" = 'Okei::Unit' WHERE "uuids_uuids"."value" = 'wrong' ORDER BY "okei_units"."id" ASC LIMIT 1
|
574
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
575
|
+
[1m[35m (0.0ms)[0m begin transaction
|
576
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
577
|
+
[1m[35m (0.0ms)[0m begin transaction
|
578
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
579
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 21' LIMIT 1
|
580
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 26' LIMIT 1[0m
|
581
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 21"], ["factor", 317.96], ["int_code", "BCD"], ["measure", "ДЛИНА"], ["name", "Единица 26"], ["num", "027"]]
|
582
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
583
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "2af01389-aab1-43e6-9f82-aa6287a58d47"]]
|
584
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
585
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
586
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 22' LIMIT 1[0m
|
587
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 27' LIMIT 1
|
588
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ЕИ 22"], ["factor", 963.05], ["int_code", "CDE"], ["measure", "ПРОЧИЕ"], ["name", "Единица 27"], ["num", "028"]]
|
589
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
|
590
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "478c2f3e-a041-425d-a519-55dd6d573c26"]]
|
591
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
592
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC[0m
|
593
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC
|
594
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
595
|
+
[1m[35m (0.0ms)[0m begin transaction
|
596
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
597
|
+
[1m[35m (0.0ms)[0m begin transaction
|
598
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
599
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 23' LIMIT 1
|
600
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 28' LIMIT 1[0m
|
601
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 23"], ["factor", 721.96], ["int_code", "DEF"], ["measure", "ДЛИНА"], ["name", "Единица 28"], ["num", "029"]]
|
602
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
603
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "8c158f14-7419-40c7-9cb8-e498b4aacbb2"]]
|
604
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
605
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
606
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 24' LIMIT 1[0m
|
607
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 29' LIMIT 1
|
608
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ЕИ 24"], ["factor", 941.59], ["int_code", "EFG"], ["measure", "ПРОЧИЕ"], ["name", "Единица 29"], ["num", "030"]]
|
609
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
|
610
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "63ee713e-aa11-44bf-8464-84071ce90f98"]]
|
611
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
612
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC[0m
|
613
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC
|
614
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
615
|
+
[1m[35m (0.0ms)[0m begin transaction
|
616
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
617
|
+
[1m[35m (0.0ms)[0m begin transaction
|
618
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
619
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 25' LIMIT 1
|
620
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 30' LIMIT 1[0m
|
621
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 25"], ["factor", 299.16], ["int_code", "FGH"], ["measure", "ДЛИНА"], ["name", "Единица 30"], ["num", "031"]]
|
622
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
623
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "c04e6093-9e0e-4be7-8e11-31b4faa0d50c"]]
|
624
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
625
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
626
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 26' LIMIT 1[0m
|
627
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 31' LIMIT 1
|
628
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ЕИ 26"], ["factor", 643.51], ["int_code", "GHI"], ["measure", "ПРОЧИЕ"], ["name", "Единица 31"], ["num", "032"]]
|
629
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
|
630
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "52172ad5-36bf-4e1b-b242-db4cf4770b83"]]
|
631
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
632
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."measure" = 'ДЛИНА' ORDER BY "okei_units"."code" ASC[0m
|
633
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
634
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
635
|
+
[1m[35m (0.0ms)[0m commit transaction
|
636
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
637
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
638
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 27' LIMIT 1[0m
|
639
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 32' LIMIT 1
|
640
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ЕИ 27"], ["factor", 671.06], ["int_code", "HIJ"], ["measure", "ДЛИНА"], ["name", "Единица 32"], ["num", "033"]]
|
641
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
642
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "b2787d8c-b56b-4885-bcc6-e8cda600c78b"]]
|
643
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
644
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
645
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 28' LIMIT 1
|
646
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 33' LIMIT 1[0m
|
647
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 28"], ["factor", 484.03], ["int_code", "IJK"], ["measure", "ПРОЧИЕ"], ["name", "Единица 33"], ["num", "034"]]
|
648
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 2]]
|
649
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "3e45456a-7e3c-448e-8776-4674af685d4f"]]
|
650
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
651
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."measure" = 'ДЛИНА' ORDER BY "okei_units"."code" ASC
|
652
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
653
|
+
[1m[35m (0.0ms)[0m begin transaction
|
654
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
655
|
+
[1m[35m (0.0ms)[0m begin transaction
|
656
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
657
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МИЛЬ' LIMIT 1
|
658
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 34' LIMIT 1[0m
|
659
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "МИЛЬ"], ["factor", 206.02], ["int_code", "JKL"], ["measure", "ДЛИНА"], ["name", "Единица 34"], ["num", "035"]]
|
660
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
661
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "0c9bbca5-b3f8-42c2-97e8-b3bd5556c75c"]]
|
662
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
663
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
664
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МОЛЬ' LIMIT 1[0m
|
665
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 35' LIMIT 1
|
666
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "МОЛЬ"], ["factor", 568.11], ["int_code", "KLM"], ["measure", "ПРОЧИЕ"], ["name", "Единица 35"], ["num", "036"]]
|
667
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
|
668
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "c8ff352b-30c5-4df8-a5e8-a7abecfa7eff"]]
|
669
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
670
|
+
Started GET "/okei/api/v1/units" for 127.0.0.1 at 2014-10-23 10:21:14 +0400
|
671
|
+
Processing by Okei::Api::V1::UnitsController#index as JSON
|
672
|
+
Unpermitted parameters: format
|
673
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC[0m
|
674
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? ORDER BY "uuids_uuids"."id" ASC LIMIT 1 [["record_id", 1], ["record_type", "Okei::Unit"]]
|
675
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.9ms)
|
676
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? ORDER BY "uuids_uuids"."id" ASC LIMIT 1[0m [["record_id", 2], ["record_type", "Okei::Unit"]]
|
677
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.6ms)
|
678
|
+
Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.2ms)
|
679
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
680
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
681
|
+
[1m[35m (0.0ms)[0m commit transaction
|
682
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
683
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
684
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МИЛЬ' LIMIT 1[0m
|
685
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 36' LIMIT 1
|
686
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "МИЛЬ"], ["factor", 592.49], ["int_code", "LMN"], ["measure", "ДЛИНА"], ["name", "Единица 36"], ["num", "037"]]
|
687
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
688
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "5eca23f0-3030-4979-82b1-cac12bdcf49b"]]
|
689
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
690
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
691
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МОЛЬ' LIMIT 1
|
692
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 37' LIMIT 1[0m
|
693
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "МОЛЬ"], ["factor", 511.98], ["int_code", "MNO"], ["measure", "ПРОЧИЕ"], ["name", "Единица 37"], ["num", "038"]]
|
694
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 2]]
|
695
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "6d116bfc-8e04-43f3-975a-719967226725"]]
|
696
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
697
|
+
Started GET "/okei/api/v1/units" for 127.0.0.1 at 2014-10-23 10:21:14 +0400
|
698
|
+
Processing by Okei::Api::V1::UnitsController#index as JSON
|
699
|
+
Unpermitted parameters: format
|
700
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC
|
701
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? ORDER BY "uuids_uuids"."id" ASC LIMIT 1[0m [["record_id", 1], ["record_type", "Okei::Unit"]]
|
702
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.8ms)
|
703
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? ORDER BY "uuids_uuids"."id" ASC LIMIT 1 [["record_id", 2], ["record_type", "Okei::Unit"]]
|
704
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.6ms)
|
705
|
+
Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.2ms)
|
706
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
707
|
+
[1m[35m (0.0ms)[0m begin transaction
|
708
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
709
|
+
[1m[35m (0.1ms)[0m begin transaction
|
710
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
711
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МИЛЬ' LIMIT 1
|
712
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 38' LIMIT 1[0m
|
713
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "МИЛЬ"], ["factor", 426.81], ["int_code", "NOP"], ["measure", "ДЛИНА"], ["name", "Единица 38"], ["num", "039"]]
|
714
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
715
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "535224a4-dadb-4b32-a2a7-cab293b42057"]]
|
716
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
717
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
718
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МОЛЬ' LIMIT 1[0m
|
719
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 39' LIMIT 1
|
720
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "МОЛЬ"], ["factor", 528.17], ["int_code", "OPQ"], ["measure", "ПРОЧИЕ"], ["name", "Единица 39"], ["num", "040"]]
|
721
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
|
722
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "532e0f3b-d76f-40a5-8fd8-7e8e79ecfea8"]]
|
723
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
724
|
+
Started GET "/okei/api/v1/units" for 127.0.0.1 at 2014-10-23 10:21:14 +0400
|
725
|
+
Processing by Okei::Api::V1::UnitsController#index as JSON
|
726
|
+
Unpermitted parameters: format
|
727
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC[0m
|
728
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? ORDER BY "uuids_uuids"."id" ASC LIMIT 1 [["record_id", 1], ["record_type", "Okei::Unit"]]
|
729
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.7ms)
|
730
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? ORDER BY "uuids_uuids"."id" ASC LIMIT 1[0m [["record_id", 2], ["record_type", "Okei::Unit"]]
|
731
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.6ms)
|
732
|
+
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.2ms)
|
733
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
734
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
735
|
+
[1m[35m (0.0ms)[0m commit transaction
|
736
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
737
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
738
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МИЛЬ' LIMIT 1[0m
|
739
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 40' LIMIT 1
|
740
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "МИЛЬ"], ["factor", 700.69], ["int_code", "PQR"], ["measure", "ДЛИНА"], ["name", "Единица 40"], ["num", "041"]]
|
741
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
742
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "3d875757-dd32-4a54-93bb-86f436d59851"]]
|
743
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
744
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
745
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МОЛЬ' LIMIT 1
|
746
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 41' LIMIT 1[0m
|
747
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "МОЛЬ"], ["factor", 925.44], ["int_code", "QRS"], ["measure", "ПРОЧИЕ"], ["name", "Единица 41"], ["num", "042"]]
|
748
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 2]]
|
749
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "af270ad7-fc38-4a84-bef4-35af10f81305"]]
|
750
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
751
|
+
Started GET "/okei/api/v1/units?measure=%D0%94%D0%9B%D0%98%D0%9D%D0%90" for 127.0.0.1 at 2014-10-23 10:21:14 +0400
|
752
|
+
Processing by Okei::Api::V1::UnitsController#index as JSON
|
753
|
+
Parameters: {"measure"=>"ДЛИНА"}
|
754
|
+
Unpermitted parameters: format
|
755
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."measure" = 'ДЛИНА' ORDER BY "okei_units"."code" ASC
|
756
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? ORDER BY "uuids_uuids"."id" ASC LIMIT 1[0m [["record_id", 1], ["record_type", "Okei::Unit"]]
|
757
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.8ms)
|
758
|
+
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms)
|
759
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
760
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
761
|
+
[1m[35m (0.0ms)[0m commit transaction
|
762
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
763
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
764
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МИЛЬ' LIMIT 1[0m
|
765
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 42' LIMIT 1
|
766
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "МИЛЬ"], ["factor", 173.21], ["int_code", "RST"], ["measure", "ДЛИНА"], ["name", "Единица 42"], ["num", "043"]]
|
767
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
768
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "1b91b554-be25-4fe2-96a3-f666af4fc6d7"]]
|
769
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
770
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
771
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МОЛЬ' LIMIT 1
|
772
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 43' LIMIT 1[0m
|
773
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "МОЛЬ"], ["factor", 222.5], ["int_code", "STU"], ["measure", "ПРОЧИЕ"], ["name", "Единица 43"], ["num", "044"]]
|
774
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 2]]
|
775
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "65507e60-a935-4cbe-9aef-fd733d58260c"]]
|
776
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
777
|
+
Started GET "/okei/api/v1/units?measure=%D0%94%D0%9B%D0%98%D0%9D%D0%90" for 127.0.0.1 at 2014-10-23 10:21:14 +0400
|
778
|
+
Processing by Okei::Api::V1::UnitsController#index as JSON
|
779
|
+
Parameters: {"measure"=>"ДЛИНА"}
|
780
|
+
Unpermitted parameters: format
|
781
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."measure" = 'ДЛИНА' ORDER BY "okei_units"."code" ASC
|
782
|
+
[1m[36mUuids::Uuid Load (0.1ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? ORDER BY "uuids_uuids"."id" ASC LIMIT 1[0m [["record_id", 1], ["record_type", "Okei::Unit"]]
|
783
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.9ms)
|
784
|
+
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms)
|
785
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
786
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
787
|
+
[1m[35m (0.0ms)[0m commit transaction
|
788
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
789
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
790
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МИЛЬ' LIMIT 1[0m
|
791
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 44' LIMIT 1
|
792
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "МИЛЬ"], ["factor", 156.3], ["int_code", "TUV"], ["measure", "ДЛИНА"], ["name", "Единица 44"], ["num", "045"]]
|
793
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
794
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "402fd13f-0400-4b02-83f1-b85a4f4a6bcc"]]
|
795
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
796
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
797
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МОЛЬ' LIMIT 1
|
798
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 45' LIMIT 1[0m
|
799
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "МОЛЬ"], ["factor", 470.55], ["int_code", "UVW"], ["measure", "ПРОЧИЕ"], ["name", "Единица 45"], ["num", "046"]]
|
800
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 2]]
|
801
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "1b461638-c80a-45e7-8482-825ff6a76ce1"]]
|
802
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
803
|
+
Started GET "/okei/api/v1/units?measure=%D0%94%D0%9B%D0%98%D0%9D%D0%90" for 127.0.0.1 at 2014-10-23 10:21:14 +0400
|
804
|
+
Processing by Okei::Api::V1::UnitsController#index as JSON
|
805
|
+
Parameters: {"measure"=>"ДЛИНА"}
|
806
|
+
Unpermitted parameters: format
|
807
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."measure" = 'ДЛИНА' ORDER BY "okei_units"."code" ASC
|
808
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? ORDER BY "uuids_uuids"."id" ASC LIMIT 1[0m [["record_id", 1], ["record_type", "Okei::Unit"]]
|
809
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.8ms)
|
810
|
+
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms)
|
811
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
812
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
813
|
+
[1m[35m (0.0ms)[0m commit transaction
|
814
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
815
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
816
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 29' LIMIT 1[0m
|
817
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 46' LIMIT 1
|
818
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ЕИ 29"], ["factor", 298.3], ["int_code", "VWA"], ["measure", "Длина"], ["name", "Единица 46"], ["num", "047"]]
|
819
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
820
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "a0c7929f-438a-4eb5-ab0b-d31366a3cc3c"]]
|
821
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
822
|
+
Started GET "/okei/api/v1/units/a0c7929f-438a-4eb5-ab0b-d31366a3cc3c" for 127.0.0.1 at 2014-10-23 10:21:14 +0400
|
823
|
+
Processing by Okei::Api::V1::UnitsController#show as JSON
|
824
|
+
Parameters: {"uuid"=>"a0c7929f-438a-4eb5-ab0b-d31366a3cc3c"}
|
825
|
+
Unpermitted parameters: format
|
826
|
+
[1m[36mOkei::Unit Load (0.2ms)[0m [1mSELECT DISTINCT "okei_units".* FROM "okei_units" INNER JOIN "uuids_uuids" ON "uuids_uuids"."record_id" = "okei_units"."id" AND "uuids_uuids"."record_type" = 'Okei::Unit' WHERE "uuids_uuids"."value" = 'a0c7929f-438a-4eb5-ab0b-d31366a3cc3c' ORDER BY "okei_units"."id" ASC LIMIT 1[0m
|
827
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? ORDER BY "uuids_uuids"."id" ASC LIMIT 1 [["record_id", 1], ["record_type", "Okei::Unit"]]
|
828
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.8ms)
|
829
|
+
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms)
|
830
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
831
|
+
[1m[35m (0.0ms)[0m begin transaction
|
832
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
833
|
+
[1m[35m (0.0ms)[0m begin transaction
|
834
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
835
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 30' LIMIT 1
|
836
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 47' LIMIT 1[0m
|
837
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 30"], ["factor", 228.23], ["int_code", "WXB"], ["measure", "Длина"], ["name", "Единица 47"], ["num", "048"]]
|
838
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
839
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "50db90c9-a4cb-4b8e-83c3-d03e509976f5"]]
|
840
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
841
|
+
Started GET "/okei/api/v1/units/50db90c9-a4cb-4b8e-83c3-d03e509976f5" for 127.0.0.1 at 2014-10-23 10:21:14 +0400
|
842
|
+
Processing by Okei::Api::V1::UnitsController#show as JSON
|
843
|
+
Parameters: {"uuid"=>"50db90c9-a4cb-4b8e-83c3-d03e509976f5"}
|
844
|
+
Unpermitted parameters: format
|
845
|
+
[1m[35mOkei::Unit Load (0.2ms)[0m SELECT DISTINCT "okei_units".* FROM "okei_units" INNER JOIN "uuids_uuids" ON "uuids_uuids"."record_id" = "okei_units"."id" AND "uuids_uuids"."record_type" = 'Okei::Unit' WHERE "uuids_uuids"."value" = '50db90c9-a4cb-4b8e-83c3-d03e509976f5' ORDER BY "okei_units"."id" ASC LIMIT 1
|
846
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? ORDER BY "uuids_uuids"."id" ASC LIMIT 1[0m [["record_id", 1], ["record_type", "Okei::Unit"]]
|
847
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.8ms)
|
848
|
+
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms)
|
849
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
850
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
851
|
+
[1m[35m (0.0ms)[0m commit transaction
|
852
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
853
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
854
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 31' LIMIT 1[0m
|
855
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 48' LIMIT 1
|
856
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ЕИ 31"], ["factor", 692.93], ["int_code", "XAC"], ["measure", "Длина"], ["name", "Единица 48"], ["num", "049"]]
|
857
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
858
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "0ceffd5e-9028-4d6c-93c3-d5494d95432e"]]
|
859
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
860
|
+
Started GET "/okei/api/v1/units/0ceffd5e-9028-4d6c-93c3-d5494d95432e" for 127.0.0.1 at 2014-10-23 10:21:14 +0400
|
861
|
+
Processing by Okei::Api::V1::UnitsController#show as JSON
|
862
|
+
Parameters: {"uuid"=>"0ceffd5e-9028-4d6c-93c3-d5494d95432e"}
|
863
|
+
Unpermitted parameters: format
|
864
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT DISTINCT "okei_units".* FROM "okei_units" INNER JOIN "uuids_uuids" ON "uuids_uuids"."record_id" = "okei_units"."id" AND "uuids_uuids"."record_type" = 'Okei::Unit' WHERE "uuids_uuids"."value" = '0ceffd5e-9028-4d6c-93c3-d5494d95432e' ORDER BY "okei_units"."id" ASC LIMIT 1[0m
|
865
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? ORDER BY "uuids_uuids"."id" ASC LIMIT 1 [["record_id", 1], ["record_type", "Okei::Unit"]]
|
866
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.7ms)
|
867
|
+
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms)
|
868
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
869
|
+
[1m[35m (0.0ms)[0m begin transaction
|
870
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
871
|
+
[1m[35m (0.0ms)[0m begin transaction
|
872
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
873
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 32' LIMIT 1
|
874
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 49' LIMIT 1[0m
|
875
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 32"], ["factor", 206.3], ["int_code", "YBD"], ["measure", "Длина"], ["name", "Единица 49"], ["num", "050"]]
|
876
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
877
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "d2538d85-5332-4697-bd2b-2c86abe9e0a0"]]
|
878
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
879
|
+
Started GET "/okei/api/v1/units/00000000-0000-0000-0000-000000000000" for 127.0.0.1 at 2014-10-23 10:21:14 +0400
|
880
|
+
Processing by Okei::Api::V1::UnitsController#show as JSON
|
881
|
+
Parameters: {"uuid"=>"00000000-0000-0000-0000-000000000000"}
|
882
|
+
Unpermitted parameters: format
|
883
|
+
[1m[35mOkei::Unit Load (0.2ms)[0m SELECT DISTINCT "okei_units".* FROM "okei_units" INNER JOIN "uuids_uuids" ON "uuids_uuids"."record_id" = "okei_units"."id" AND "uuids_uuids"."record_type" = 'Okei::Unit' WHERE "uuids_uuids"."value" = '00000000-0000-0000-0000-000000000000' ORDER BY "okei_units"."id" ASC LIMIT 1
|
884
|
+
Completed 404 Not Found in 4ms (Views: 2.1ms | ActiveRecord: 0.2ms)
|
885
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
886
|
+
[1m[35m (0.0ms)[0m begin transaction
|
887
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
888
|
+
[1m[35m (0.0ms)[0m begin transaction
|
889
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
890
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 33' LIMIT 1
|
891
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 50' LIMIT 1[0m
|
892
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 33"], ["factor", 292.44], ["int_code", "ACE"], ["measure", "Длина"], ["name", "Единица 50"], ["num", "051"]]
|
893
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
894
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "8b8e3814-d641-4b00-9fc6-a4b5f8a1758c"]]
|
895
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
896
|
+
Started GET "/okei/api/v1/units/00000000-0000-0000-0000-000000000000" for 127.0.0.1 at 2014-10-23 10:21:14 +0400
|
897
|
+
Processing by Okei::Api::V1::UnitsController#show as JSON
|
898
|
+
Parameters: {"uuid"=>"00000000-0000-0000-0000-000000000000"}
|
899
|
+
Unpermitted parameters: format
|
900
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT DISTINCT "okei_units".* FROM "okei_units" INNER JOIN "uuids_uuids" ON "uuids_uuids"."record_id" = "okei_units"."id" AND "uuids_uuids"."record_type" = 'Okei::Unit' WHERE "uuids_uuids"."value" = '00000000-0000-0000-0000-000000000000' ORDER BY "okei_units"."id" ASC LIMIT 1
|
901
|
+
Completed 404 Not Found in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms)
|
902
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
903
|
+
[1m[35m (0.0ms)[0m begin transaction
|
904
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
905
|
+
[1m[35m (0.0ms)[0m begin transaction
|
906
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
907
|
+
[1m[35m (0.0ms)[0m begin transaction
|
908
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
909
|
+
[1m[35m (0.0ms)[0m begin transaction
|
910
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
911
|
+
[1m[35m (0.0ms)[0m begin transaction
|
912
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
913
|
+
[1m[35m (0.0ms)[0m begin transaction
|
914
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
915
|
+
[1m[35m (0.0ms)[0m begin transaction
|
916
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
917
|
+
[1m[35m (0.1ms)[0m begin transaction
|
918
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
919
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 34' LIMIT 1
|
920
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 51' LIMIT 1[0m
|
921
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 34"], ["factor", 45.37], ["int_code", "BDF"], ["measure", "Длина"], ["name", "Единица 51"], ["num", "052"]]
|
922
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
923
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "4db7aa0f-78a2-4bab-a0ca-f6117bbf4e7b"]]
|
924
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
925
|
+
Cache digest for /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder: 127be0d5a5f519d0d2795ca7929831b4
|
926
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (7.9ms)
|
927
|
+
Cache digest for /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder: 127be0d5a5f519d0d2795ca7929831b4
|
928
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (3.5ms)
|
929
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
930
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
931
|
+
[1m[35m (0.0ms)[0m commit transaction
|
932
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
933
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
934
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1[0m
|
935
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 52' LIMIT 1
|
936
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 809.13], ["int_code", "CEG"], ["measure", "Длина"], ["name", "Единица 52"], ["num", "053"]]
|
937
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
938
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "137e685f-12b1-4ecc-8991-d0609ffcb283"]]
|
939
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
940
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1[0m
|
941
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
942
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
943
|
+
[1m[35m (0.0ms)[0m commit transaction
|
944
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
945
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
946
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1[0m
|
947
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 53' LIMIT 1
|
948
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 272.69], ["int_code", "DFH"], ["measure", "Длина"], ["name", "Единица 53"], ["num", "054"]]
|
949
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
950
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "43d54c3d-ac27-4f38-bd4f-116cccd1e69f"]]
|
951
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
952
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1[0m
|
953
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
954
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
955
|
+
[1m[35m (0.0ms)[0m commit transaction
|
956
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
957
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
958
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1[0m
|
959
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 54' LIMIT 1
|
960
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 266.01], ["int_code", "EGI"], ["measure", "Длина"], ["name", "Единица 54"], ["num", "055"]]
|
961
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
962
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "7d599dcb-fcf0-40ac-8e30-d089ec2f2396"]]
|
963
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
964
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1[0m
|
965
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1
|
966
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
967
|
+
[1m[35m (0.0ms)[0m begin transaction
|
968
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
969
|
+
[1m[35m (0.0ms)[0m begin transaction
|
970
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
971
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
|
972
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 55' LIMIT 1[0m
|
973
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 371.56], ["int_code", "FHJ"], ["measure", "Длина"], ["name", "Единица 55"], ["num", "056"]]
|
974
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
975
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "a27653d2-e17d-4fce-8636-477a006d6b9f"]]
|
976
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
977
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'тысяч км в сек' ORDER BY "okei_units"."id" ASC LIMIT 1
|
978
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
979
|
+
[1m[35m (0.0ms)[0m begin transaction
|
980
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
981
|
+
[1m[35m (0.0ms)[0m begin transaction
|
982
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
983
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
|
984
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 56' LIMIT 1[0m
|
985
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 649.43], ["int_code", "GIK"], ["measure", "Длина"], ["name", "Единица 56"], ["num", "057"]]
|
986
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
987
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "7046bd65-410e-4e8f-97ed-41ac4ba66479"]]
|
988
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
989
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'тысяч км в сек' ORDER BY "okei_units"."id" ASC LIMIT 1
|
990
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
991
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
992
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
993
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
994
|
+
FROM sqlite_master
|
995
|
+
WHERE name='index_corrector_bases_on_type' AND type='index'
|
996
|
+
UNION ALL
|
997
|
+
SELECT sql
|
998
|
+
FROM sqlite_temp_master
|
999
|
+
WHERE name='index_corrector_bases_on_type' AND type='index'
|
1000
|
+
[0m
|
1001
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1002
|
+
FROM sqlite_master
|
1003
|
+
WHERE name='index_corrector_bases_on_scope_and_from' AND type='index'
|
1004
|
+
UNION ALL
|
1005
|
+
SELECT sql
|
1006
|
+
FROM sqlite_temp_master
|
1007
|
+
WHERE name='index_corrector_bases_on_scope_and_from' AND type='index'
|
1008
|
+
|
1009
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1010
|
+
FROM sqlite_master
|
1011
|
+
WHERE name='index_okei_units_on_measure' AND type='index'
|
1012
|
+
UNION ALL
|
1013
|
+
SELECT sql
|
1014
|
+
FROM sqlite_temp_master
|
1015
|
+
WHERE name='index_okei_units_on_measure' AND type='index'
|
1016
|
+
[0m
|
1017
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1018
|
+
FROM sqlite_master
|
1019
|
+
WHERE name='index_okei_units_on_base' AND type='index'
|
1020
|
+
UNION ALL
|
1021
|
+
SELECT sql
|
1022
|
+
FROM sqlite_temp_master
|
1023
|
+
WHERE name='index_okei_units_on_base' AND type='index'
|
1024
|
+
|
1025
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1026
|
+
FROM sqlite_master
|
1027
|
+
WHERE name='index_okei_units_on_code' AND type='index'
|
1028
|
+
UNION ALL
|
1029
|
+
SELECT sql
|
1030
|
+
FROM sqlite_temp_master
|
1031
|
+
WHERE name='index_okei_units_on_code' AND type='index'
|
1032
|
+
[0m
|
1033
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1034
|
+
FROM sqlite_master
|
1035
|
+
WHERE name='index_uuids_uuids_on_value' AND type='index'
|
1036
|
+
UNION ALL
|
1037
|
+
SELECT sql
|
1038
|
+
FROM sqlite_temp_master
|
1039
|
+
WHERE name='index_uuids_uuids_on_value' AND type='index'
|
1040
|
+
|
1041
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1042
|
+
FROM sqlite_master
|
1043
|
+
WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
|
1044
|
+
UNION ALL
|
1045
|
+
SELECT sql
|
1046
|
+
FROM sqlite_temp_master
|
1047
|
+
WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
|
1048
|
+
[0m
|
1049
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1050
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1051
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1052
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1053
|
+
FROM sqlite_master
|
1054
|
+
WHERE name='index_corrector_bases_on_type' AND type='index'
|
1055
|
+
UNION ALL
|
1056
|
+
SELECT sql
|
1057
|
+
FROM sqlite_temp_master
|
1058
|
+
WHERE name='index_corrector_bases_on_type' AND type='index'
|
1059
|
+
[0m
|
1060
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1061
|
+
FROM sqlite_master
|
1062
|
+
WHERE name='index_corrector_bases_on_scope_and_from' AND type='index'
|
1063
|
+
UNION ALL
|
1064
|
+
SELECT sql
|
1065
|
+
FROM sqlite_temp_master
|
1066
|
+
WHERE name='index_corrector_bases_on_scope_and_from' AND type='index'
|
1067
|
+
|
1068
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1069
|
+
FROM sqlite_master
|
1070
|
+
WHERE name='index_okei_units_on_measure' AND type='index'
|
1071
|
+
UNION ALL
|
1072
|
+
SELECT sql
|
1073
|
+
FROM sqlite_temp_master
|
1074
|
+
WHERE name='index_okei_units_on_measure' AND type='index'
|
1075
|
+
[0m
|
1076
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1077
|
+
FROM sqlite_master
|
1078
|
+
WHERE name='index_okei_units_on_base' AND type='index'
|
1079
|
+
UNION ALL
|
1080
|
+
SELECT sql
|
1081
|
+
FROM sqlite_temp_master
|
1082
|
+
WHERE name='index_okei_units_on_base' AND type='index'
|
1083
|
+
|
1084
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1085
|
+
FROM sqlite_master
|
1086
|
+
WHERE name='index_okei_units_on_code' AND type='index'
|
1087
|
+
UNION ALL
|
1088
|
+
SELECT sql
|
1089
|
+
FROM sqlite_temp_master
|
1090
|
+
WHERE name='index_okei_units_on_code' AND type='index'
|
1091
|
+
[0m
|
1092
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1093
|
+
FROM sqlite_master
|
1094
|
+
WHERE name='index_uuids_uuids_on_value' AND type='index'
|
1095
|
+
UNION ALL
|
1096
|
+
SELECT sql
|
1097
|
+
FROM sqlite_temp_master
|
1098
|
+
WHERE name='index_uuids_uuids_on_value' AND type='index'
|
1099
|
+
|
1100
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1101
|
+
FROM sqlite_master
|
1102
|
+
WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
|
1103
|
+
UNION ALL
|
1104
|
+
SELECT sql
|
1105
|
+
FROM sqlite_temp_master
|
1106
|
+
WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
|
1107
|
+
[0m
|
1108
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1109
|
+
[1m[35m (4.8ms)[0m DELETE FROM "corrector_bases";
|
1110
|
+
[1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1111
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'corrector_bases';
|
1112
|
+
[1m[36m (3.5ms)[0m [1mDELETE FROM "uuids_uuids";[0m
|
1113
|
+
[1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1114
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'uuids_uuids';[0m
|
1115
|
+
[1m[35m (3.5ms)[0m DELETE FROM "okei_units";
|
1116
|
+
[1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1117
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'okei_units';
|
1118
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1119
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1120
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1121
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1122
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1[0m
|
1123
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 1' LIMIT 1
|
1124
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 821.11], ["int_code", "BBB"], ["measure", "Длина"], ["name", "Единица 1"], ["num", "002"]]
|
1125
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
1126
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "9678ca2a-9e10-4bee-ab44-29de320b5df0"]]
|
1127
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1128
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'тысяч км в сек' ORDER BY "okei_units"."id" ASC LIMIT 1[0m
|
1129
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1130
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
1131
|
+
[1m[35m (0.7ms)[0m commit transaction
|
1132
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
1133
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1134
|
+
[1m[36mOkei::Unit Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1[0m
|
1135
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 2' LIMIT 1
|
1136
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 273.32], ["int_code", "CCC"], ["measure", "Длина"], ["name", "Единица 2"], ["num", "003"]]
|
1137
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
1138
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "a255e5da-9d3f-4061-93f7-5661342cd1e4"]]
|
1139
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1140
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'тысяч км в сек' ORDER BY "okei_units"."id" ASC LIMIT 1[0m
|
1141
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1142
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1143
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1144
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1145
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1146
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1[0m
|
1147
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 3' LIMIT 1
|
1148
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 654.15], ["int_code", "DDD"], ["measure", "Длина"], ["name", "Единица 3"], ["num", "004"]]
|
1149
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
1150
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "72462688-00b3-41e6-ab33-898ede008c75"]]
|
1151
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1152
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1[0m
|
1153
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1
|
1154
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1155
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1156
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1157
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1158
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1159
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
|
1160
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 4' LIMIT 1[0m
|
1161
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 519.83], ["int_code", "EEE"], ["measure", "Длина"], ["name", "Единица 4"], ["num", "005"]]
|
1162
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
1163
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "5eb781b2-0b87-4801-90ac-74f307a0f951"]]
|
1164
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1165
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1
|
1166
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1167
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1168
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1169
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1170
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1171
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
|
1172
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 5' LIMIT 1[0m
|
1173
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 634.12], ["int_code", "FFF"], ["measure", "Длина"], ["name", "Единица 5"], ["num", "006"]]
|
1174
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
1175
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "8cacc742-aa71-4eb8-8009-6beb17304d38"]]
|
1176
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1177
|
+
[1m[35mOkei::Unit Load (0.2ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1
|
1178
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1179
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1180
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1181
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1182
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1183
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 1' LIMIT 1
|
1184
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 6' LIMIT 1[0m
|
1185
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 1"], ["factor", 67.98], ["int_code", "GGG"], ["measure", "Длина"], ["name", "Единица 6"], ["num", "007"]]
|
1186
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
1187
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "dfe940e9-a723-4d7f-ac00-b8263f02a652"]]
|
1188
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1189
|
+
[1m[35mOkei::Unit Load (0.2ms)[0m SELECT DISTINCT "okei_units".* FROM "okei_units" INNER JOIN "uuids_uuids" ON "uuids_uuids"."record_id" = "okei_units"."id" AND "uuids_uuids"."record_type" = 'Okei::Unit' WHERE "uuids_uuids"."value" = 'wrong' ORDER BY "okei_units"."id" ASC LIMIT 1
|
1190
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1191
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1192
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1193
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1194
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1195
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 2' LIMIT 1
|
1196
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 7' LIMIT 1[0m
|
1197
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 2"], ["factor", 294.11], ["int_code", "HHH"], ["measure", "Длина"], ["name", "Единица 7"], ["num", "008"]]
|
1198
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
1199
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "4686863d-7251-49a8-9b88-6e98313e21fe"]]
|
1200
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1201
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT DISTINCT "okei_units".* FROM "okei_units" INNER JOIN "uuids_uuids" ON "uuids_uuids"."record_id" = "okei_units"."id" AND "uuids_uuids"."record_type" = 'Okei::Unit' WHERE "uuids_uuids"."value" = 'wrong' ORDER BY "okei_units"."id" ASC LIMIT 1
|
1202
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1203
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1204
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1205
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1206
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1207
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 3' LIMIT 1
|
1208
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 8' LIMIT 1[0m
|
1209
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 3"], ["factor", 206.12], ["int_code", "III"], ["measure", "Длина"], ["name", "Единица 8"], ["num", "009"]]
|
1210
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
1211
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "775c9402-6f54-4926-95b2-4f5bcc2fe12a"]]
|
1212
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1213
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT DISTINCT "okei_units".* FROM "okei_units" INNER JOIN "uuids_uuids" ON "uuids_uuids"."record_id" = "okei_units"."id" AND "uuids_uuids"."record_type" = 'Okei::Unit' WHERE "uuids_uuids"."value" = '775c9402-6f54-4926-95b2-4f5bcc2fe12a' ORDER BY "okei_units"."id" ASC LIMIT 1
|
1214
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1215
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1216
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1217
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1218
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1219
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 4' LIMIT 1
|
1220
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 9' LIMIT 1[0m
|
1221
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 4"], ["factor", 68.99], ["int_code", "JJJ"], ["measure", "Длина"], ["name", "Единица 9"], ["num", "010"]]
|
1222
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
1223
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "a4050d02-5db6-4565-be3b-dce8167e0f87"]]
|
1224
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1225
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT DISTINCT "okei_units".* FROM "okei_units" INNER JOIN "uuids_uuids" ON "uuids_uuids"."record_id" = "okei_units"."id" AND "uuids_uuids"."record_type" = 'Okei::Unit' WHERE "uuids_uuids"."value" = 'a4050d02-5db6-4565-be3b-dce8167e0f87' ORDER BY "okei_units"."id" ASC LIMIT 1
|
1226
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1227
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1228
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1229
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1230
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1231
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1232
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1233
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1234
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1235
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1236
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1237
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1238
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1239
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1240
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1241
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1242
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 5' LIMIT 1[0m
|
1243
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 10' LIMIT 1
|
1244
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 5' LIMIT 1[0m
|
1245
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 10' LIMIT 1
|
1246
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1247
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1248
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1249
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1250
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 6' LIMIT 1[0m
|
1251
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 11' LIMIT 1
|
1252
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 6' LIMIT 1[0m
|
1253
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 11' LIMIT 1
|
1254
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1255
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1256
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1257
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1258
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 7' LIMIT 1[0m
|
1259
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 12' LIMIT 1
|
1260
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 12' LIMIT 1[0m
|
1261
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1262
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1263
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1264
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1265
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 8' LIMIT 1
|
1266
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 13' LIMIT 1[0m
|
1267
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1268
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 9' LIMIT 1[0m
|
1269
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 14' LIMIT 1
|
1270
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ЕИ 9"], ["factor", 89.96], ["int_code", "NNN"], ["measure", "Длина"], ["name", "Единица 14"], ["num", "015"]]
|
1271
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
1272
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "227a895e-c8c8-49cf-9b18-d24871df7fee"]]
|
1273
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1274
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 8' LIMIT 1[0m
|
1275
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 13' LIMIT 1
|
1276
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1277
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1278
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1279
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1280
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 10' LIMIT 1[0m
|
1281
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 15' LIMIT 1
|
1282
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 10' LIMIT 1[0m
|
1283
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 15' LIMIT 1
|
1284
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1285
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1286
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1287
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1288
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 11' LIMIT 1[0m
|
1289
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 16' LIMIT 1
|
1290
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 11' LIMIT 1[0m
|
1291
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 16' LIMIT 1
|
1292
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 11' LIMIT 1[0m
|
1293
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 16' LIMIT 1
|
1294
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1295
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1296
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1297
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1298
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 12' LIMIT 1[0m
|
1299
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 17' LIMIT 1
|
1300
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1301
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 12' LIMIT 1
|
1302
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 18' LIMIT 1[0m
|
1303
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 12"], ["factor", 624.99], ["int_code", "RRR"], ["measure", "Длина"], ["name", "Единица 18"], ["num", "019"]]
|
1304
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
1305
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "823cb6cc-f3a2-4746-97f6-caf355da2c6d"]]
|
1306
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1307
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 12' LIMIT 1
|
1308
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 17' LIMIT 1[0m
|
1309
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1310
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1311
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1312
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1313
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 13' LIMIT 1
|
1314
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 19' LIMIT 1[0m
|
1315
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1316
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 14' LIMIT 1[0m
|
1317
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 19' LIMIT 1
|
1318
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ЕИ 14"], ["factor", 931.49], ["int_code", "TTT"], ["measure", "Длина"], ["name", "Единица 19"], ["num", "021"]]
|
1319
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
1320
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "c9dd6b9c-d68d-4c0b-b13a-35f932bdb6b4"]]
|
1321
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1322
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 13' LIMIT 1[0m
|
1323
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 19' LIMIT 1
|
1324
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1325
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1326
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1327
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1328
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 15' LIMIT 1[0m
|
1329
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 20' LIMIT 1
|
1330
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 15' LIMIT 1[0m
|
1331
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 20' LIMIT 1
|
1332
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1333
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1334
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1335
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1336
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 16' LIMIT 1[0m
|
1337
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 21' LIMIT 1
|
1338
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 16' LIMIT 1[0m
|
1339
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1340
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1341
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1342
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1343
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 17' LIMIT 1
|
1344
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 22' LIMIT 1[0m
|
1345
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1346
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 18' LIMIT 1[0m
|
1347
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 23' LIMIT 1
|
1348
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ЕИ 18"], ["factor", 530.65], ["int_code", "XXA"], ["measure", "Длина"], ["name", "Единица 23"], ["num", "024"]]
|
1349
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
1350
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "c43dfdf3-0161-46f3-9207-ca219b0244b8"]]
|
1351
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1352
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 17' LIMIT 1[0m
|
1353
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 22' LIMIT 1
|
1354
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1355
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1356
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1357
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1358
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 19' LIMIT 1[0m
|
1359
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 24' LIMIT 1
|
1360
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 19' LIMIT 1[0m
|
1361
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 24' LIMIT 1
|
1362
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 19' LIMIT 1[0m
|
1363
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 24' LIMIT 1
|
1364
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 19' LIMIT 1[0m
|
1365
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 24' LIMIT 1
|
1366
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1367
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1368
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1369
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1370
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 20' LIMIT 1[0m
|
1371
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 25' LIMIT 1
|
1372
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 20' LIMIT 1[0m
|
1373
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 25' LIMIT 1
|
1374
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1375
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1376
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1377
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1378
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1379
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1380
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1381
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1382
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1383
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1384
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1385
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1386
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1387
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1388
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1389
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1390
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1391
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1392
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1393
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1394
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1395
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1396
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1397
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1398
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1399
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 21' LIMIT 1
|
1400
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 26' LIMIT 1[0m
|
1401
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 21"], ["factor", 716.03], ["int_code", "BCD"], ["measure", "ДЛИНА"], ["name", "Единица 26"], ["num", "027"]]
|
1402
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
1403
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "62386d89-4d8f-4e05-b135-71a61bd44453"]]
|
1404
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1405
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1406
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 22' LIMIT 1[0m
|
1407
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 27' LIMIT 1
|
1408
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ЕИ 22"], ["factor", 802.11], ["int_code", "CDE"], ["measure", "ПРОЧИЕ"], ["name", "Единица 27"], ["num", "028"]]
|
1409
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
|
1410
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "9490da06-3cf3-4bea-a440-197c53ae84b7"]]
|
1411
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1412
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."measure" = 'ДЛИНА' ORDER BY "okei_units"."code" ASC[0m
|
1413
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1414
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1415
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1416
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1417
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1418
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 23' LIMIT 1[0m
|
1419
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 28' LIMIT 1
|
1420
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ЕИ 23"], ["factor", 41.0], ["int_code", "DEF"], ["measure", "ДЛИНА"], ["name", "Единица 28"], ["num", "029"]]
|
1421
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
1422
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "2909afa2-ac29-4dce-9b66-339ac903f345"]]
|
1423
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1424
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1425
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 24' LIMIT 1
|
1426
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 29' LIMIT 1[0m
|
1427
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 24"], ["factor", 106.25], ["int_code", "EFG"], ["measure", "ПРОЧИЕ"], ["name", "Единица 29"], ["num", "030"]]
|
1428
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 2]]
|
1429
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "ef3fc73a-07e8-453d-a28f-4a494b4185b8"]]
|
1430
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1431
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."measure" = 'ДЛИНА' ORDER BY "okei_units"."code" ASC
|
1432
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1433
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1434
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1435
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1436
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1437
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 25' LIMIT 1
|
1438
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 30' LIMIT 1[0m
|
1439
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 25"], ["factor", 131.77], ["int_code", "FGH"], ["measure", "ДЛИНА"], ["name", "Единица 30"], ["num", "031"]]
|
1440
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
1441
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "2ab5d860-606a-43c9-a23c-b78f4a63f9cf"]]
|
1442
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1443
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1444
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 26' LIMIT 1[0m
|
1445
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 31' LIMIT 1
|
1446
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ЕИ 26"], ["factor", 29.6], ["int_code", "GHI"], ["measure", "ПРОЧИЕ"], ["name", "Единица 31"], ["num", "032"]]
|
1447
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
|
1448
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "80f65465-7302-40ef-af18-7d3d7db7d004"]]
|
1449
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1450
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC[0m
|
1451
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC
|
1452
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1453
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1454
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1455
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1456
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1457
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 27' LIMIT 1
|
1458
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 32' LIMIT 1[0m
|
1459
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 27"], ["factor", 189.71], ["int_code", "HIJ"], ["measure", "ДЛИНА"], ["name", "Единица 32"], ["num", "033"]]
|
1460
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
1461
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "6396f2bd-af23-4f92-8a65-ca152ebb97e4"]]
|
1462
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1463
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1464
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 28' LIMIT 1[0m
|
1465
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 33' LIMIT 1
|
1466
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ЕИ 28"], ["factor", 66.74], ["int_code", "IJK"], ["measure", "ПРОЧИЕ"], ["name", "Единица 33"], ["num", "034"]]
|
1467
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
|
1468
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "dda3af2f-e810-41c8-8ecd-078a50659c2f"]]
|
1469
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1470
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC[0m
|
1471
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC
|
1472
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1473
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1474
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1475
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1476
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1477
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
|
1478
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 34' LIMIT 1[0m
|
1479
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 730.21], ["int_code", "JKL"], ["measure", "Длина"], ["name", "Единица 34"], ["num", "035"]]
|
1480
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
1481
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "6624be29-8748-4f7d-8e9f-e32e26fa3d4e"]]
|
1482
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1483
|
+
Started GET "/okei/api/v1/units/search?text=wrong+text" for 127.0.0.1 at 2014-10-23 11:18:13 +0400
|
1484
|
+
Processing by Okei::Api::V1::UnitsController#search as JSON
|
1485
|
+
Parameters: {"text"=>"wrong text"}
|
1486
|
+
Unpermitted parameters: format
|
1487
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'wrong text' ORDER BY "okei_units"."id" ASC LIMIT 1
|
1488
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/errors.json.jbuilder (0.6ms)
|
1489
|
+
Completed 404 Not Found in 8ms (Views: 6.8ms | ActiveRecord: 0.1ms)
|
1490
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1491
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1492
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1493
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1494
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1495
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
|
1496
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 35' LIMIT 1[0m
|
1497
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 196.94], ["int_code", "KLM"], ["measure", "Длина"], ["name", "Единица 35"], ["num", "036"]]
|
1498
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
1499
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "1270b038-22ab-415d-8354-6b521d51ac65"]]
|
1500
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1501
|
+
Started GET "/okei/api/v1/units/search?text=wrong+text" for 127.0.0.1 at 2014-10-23 11:18:13 +0400
|
1502
|
+
Processing by Okei::Api::V1::UnitsController#search as JSON
|
1503
|
+
Parameters: {"text"=>"wrong text"}
|
1504
|
+
Unpermitted parameters: format
|
1505
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'wrong text' ORDER BY "okei_units"."id" ASC LIMIT 1
|
1506
|
+
Completed 404 Not Found in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms)
|
1507
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1508
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1509
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1510
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1511
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1512
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
|
1513
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 36' LIMIT 1[0m
|
1514
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 900.55], ["int_code", "LMN"], ["measure", "Длина"], ["name", "Единица 36"], ["num", "037"]]
|
1515
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
1516
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "2dfb4b07-641d-40fe-ba6f-dde011c94609"]]
|
1517
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1518
|
+
Started GET "/okei/api/v1/units/search?text=%D0%BA%D0%B8%D0%BB%D0%BE%D0%BC%D0%B5%D1%82%D1%80%D0%BE%D0%B2+%D0%B2+%D1%81%D0%B5%D0%BA" for 127.0.0.1 at 2014-10-23 11:18:13 +0400
|
1519
|
+
Processing by Okei::Api::V1::UnitsController#search as JSON
|
1520
|
+
Parameters: {"text"=>"километров в сек"}
|
1521
|
+
Unpermitted parameters: format
|
1522
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1
|
1523
|
+
[1m[36mUuids::Uuid Load (0.1ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? ORDER BY "uuids_uuids"."id" ASC LIMIT 1[0m [["record_id", 1], ["record_type", "Okei::Unit"]]
|
1524
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (1.3ms)
|
1525
|
+
Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.2ms)
|
1526
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1527
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1528
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1529
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1530
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1531
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1[0m
|
1532
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 37' LIMIT 1
|
1533
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 45.06], ["int_code", "MNO"], ["measure", "Длина"], ["name", "Единица 37"], ["num", "038"]]
|
1534
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
1535
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "1a3396c8-c8df-4552-8261-c170bd55ef45"]]
|
1536
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1537
|
+
Started GET "/okei/api/v1/units/search?text=%D0%BA%D0%B8%D0%BB%D0%BE%D0%BC%D0%B5%D1%82%D1%80%D0%BE%D0%B2+%D0%B2+%D1%81%D0%B5%D0%BA" for 127.0.0.1 at 2014-10-23 11:18:13 +0400
|
1538
|
+
Processing by Okei::Api::V1::UnitsController#search as JSON
|
1539
|
+
Parameters: {"text"=>"километров в сек"}
|
1540
|
+
Unpermitted parameters: format
|
1541
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1[0m
|
1542
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? ORDER BY "uuids_uuids"."id" ASC LIMIT 1 [["record_id", 1], ["record_type", "Okei::Unit"]]
|
1543
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.7ms)
|
1544
|
+
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)
|
1545
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1546
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1547
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1548
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1549
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1550
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
|
1551
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 38' LIMIT 1[0m
|
1552
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 479.99], ["int_code", "NOP"], ["measure", "Длина"], ["name", "Единица 38"], ["num", "039"]]
|
1553
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
1554
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "dae19e5e-a2ce-42b3-ae06-b5a7070c9e24"]]
|
1555
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1556
|
+
Started GET "/okei/api/v1/units/search?text=%D0%BA%D0%B8%D0%BB%D0%BE%D0%BC%D0%B5%D1%82%D1%80%D0%BE%D0%B2+%D0%B2+%D1%81%D0%B5%D0%BA" for 127.0.0.1 at 2014-10-23 11:18:13 +0400
|
1557
|
+
Processing by Okei::Api::V1::UnitsController#search as JSON
|
1558
|
+
Parameters: {"text"=>"километров в сек"}
|
1559
|
+
Unpermitted parameters: format
|
1560
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1
|
1561
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? ORDER BY "uuids_uuids"."id" ASC LIMIT 1[0m [["record_id", 1], ["record_type", "Okei::Unit"]]
|
1562
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.7ms)
|
1563
|
+
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms)
|
1564
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1565
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1566
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1567
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1568
|
+
Processing by Okei::Api::V1::UnitsController#show as HTML
|
1569
|
+
Parameters: {"wrong"=>"wrong", "uuid"=>"00000000-0000-0000-0000-000000000000"}
|
1570
|
+
Unpermitted parameters: wrong
|
1571
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
1572
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1573
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1574
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1575
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1576
|
+
Processing by Okei::Api::V1::UnitsController#show as HTML
|
1577
|
+
Parameters: {"wrong"=>"wrong", "uuid"=>"00000000-0000-0000-0000-000000000000"}
|
1578
|
+
Unpermitted parameters: wrong
|
1579
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
1580
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1581
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1582
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1583
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1584
|
+
Processing by Okei::Api::V1::UnitsController#show as HTML
|
1585
|
+
Parameters: {"wrong"=>"wrong", "uuid"=>"00000000-0000-0000-0000-000000000000"}
|
1586
|
+
Unpermitted parameters: wrong
|
1587
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
1588
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1589
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1590
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1591
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1592
|
+
Processing by Okei::Api::V1::UnitsController#index as HTML
|
1593
|
+
Parameters: {"measure"=>"measure", "code"=>"code"}
|
1594
|
+
Unpermitted parameters: code
|
1595
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
1596
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1597
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1598
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1599
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1600
|
+
Processing by Okei::Api::V1::UnitsController#index as HTML
|
1601
|
+
Parameters: {"measure"=>"measure", "code"=>"code"}
|
1602
|
+
Unpermitted parameters: code
|
1603
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
1604
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1605
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1606
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1607
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1608
|
+
Processing by Okei::Api::V1::UnitsController#index as HTML
|
1609
|
+
Parameters: {"measure"=>"measure", "code"=>"code"}
|
1610
|
+
Unpermitted parameters: code
|
1611
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
1612
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1613
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1614
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1615
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1616
|
+
Processing by Okei::Api::V1::UnitsController#search as HTML
|
1617
|
+
Parameters: {"text"=>"text", "wrong"=>"wrong"}
|
1618
|
+
Unpermitted parameters: wrong
|
1619
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
1620
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1621
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1622
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1623
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1624
|
+
Processing by Okei::Api::V1::UnitsController#search as HTML
|
1625
|
+
Parameters: {"text"=>"text", "wrong"=>"wrong"}
|
1626
|
+
Unpermitted parameters: wrong
|
1627
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
1628
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1629
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1630
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1631
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1632
|
+
Processing by Okei::Api::V1::UnitsController#search as HTML
|
1633
|
+
Parameters: {"text"=>"text", "wrong"=>"wrong"}
|
1634
|
+
Unpermitted parameters: wrong
|
1635
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
1636
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1637
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1638
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1639
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1640
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1641
|
+
[1m[36mOkei::Unit Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 29' LIMIT 1[0m
|
1642
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 39' LIMIT 1
|
1643
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ЕИ 29"], ["factor", 35.22], ["int_code", "OPQ"], ["measure", "Длина"], ["name", "Единица 39"], ["num", "040"]]
|
1644
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
1645
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "c7fc7385-4dca-4975-90f8-585e2f373fd8"]]
|
1646
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1647
|
+
Cache digest for /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder: 127be0d5a5f519d0d2795ca7929831b4
|
1648
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (5.9ms)
|
1649
|
+
Cache digest for /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder: 127be0d5a5f519d0d2795ca7929831b4
|
1650
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (3.3ms)
|
1651
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1652
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1653
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1654
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1655
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
1656
|
+
Completed 500 Internal Server Error in 3ms
|
1657
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1658
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1659
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1660
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1661
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
1662
|
+
Completed 500 Internal Server Error in 1ms
|
1663
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1664
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1665
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1666
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1667
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
1668
|
+
Completed 500 Internal Server Error in 1ms
|
1669
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1670
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1671
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1672
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1673
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
1674
|
+
Completed 500 Internal Server Error in 1ms
|
1675
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1676
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1677
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1678
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1679
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
1680
|
+
Completed 500 Internal Server Error in 1ms
|
1681
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1682
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1683
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1684
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1685
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
1686
|
+
Completed 500 Internal Server Error in 1ms
|
1687
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1688
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1689
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1690
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1691
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
1692
|
+
Completed 500 Internal Server Error in 1ms
|
1693
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1694
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1695
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1696
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1697
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
1698
|
+
Completed 500 Internal Server Error in 1ms
|
1699
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1700
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1701
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1702
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1703
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
1704
|
+
Completed 500 Internal Server Error in 1ms
|
1705
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1706
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1707
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1708
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1709
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1710
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1711
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1712
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1713
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1714
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1715
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1716
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1717
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1718
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1719
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1720
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1721
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1722
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МИЛЬ' LIMIT 1
|
1723
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 40' LIMIT 1[0m
|
1724
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "МИЛЬ"], ["factor", 701.31], ["int_code", "PQR"], ["measure", "ДЛИНА"], ["name", "Единица 40"], ["num", "041"]]
|
1725
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
1726
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "ebd3ea63-871c-4dc4-a57f-7260cbaebd5f"]]
|
1727
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1728
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1729
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МОЛЬ' LIMIT 1[0m
|
1730
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 41' LIMIT 1
|
1731
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "МОЛЬ"], ["factor", 484.8], ["int_code", "QRS"], ["measure", "ПРОЧИЕ"], ["name", "Единица 41"], ["num", "042"]]
|
1732
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
|
1733
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "6fa74e79-bf4d-47e0-8a90-68c0c71f7215"]]
|
1734
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1735
|
+
Started GET "/okei/api/v1/units?measure=%D0%94%D0%9B%D0%98%D0%9D%D0%90" for 127.0.0.1 at 2014-10-23 11:18:13 +0400
|
1736
|
+
Processing by Okei::Api::V1::UnitsController#index as JSON
|
1737
|
+
Parameters: {"measure"=>"ДЛИНА"}
|
1738
|
+
Unpermitted parameters: format
|
1739
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."measure" = 'ДЛИНА' ORDER BY "okei_units"."code" ASC[0m
|
1740
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? ORDER BY "uuids_uuids"."id" ASC LIMIT 1 [["record_id", 1], ["record_type", "Okei::Unit"]]
|
1741
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (1.0ms)
|
1742
|
+
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms)
|
1743
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1744
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1745
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1746
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1747
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1748
|
+
[1m[35mOkei::Unit Exists (0.2ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МИЛЬ' LIMIT 1
|
1749
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 42' LIMIT 1[0m
|
1750
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "МИЛЬ"], ["factor", 905.79], ["int_code", "RST"], ["measure", "ДЛИНА"], ["name", "Единица 42"], ["num", "043"]]
|
1751
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
1752
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "76d8188a-cb97-40d3-8211-d83050ec5119"]]
|
1753
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1754
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1755
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МОЛЬ' LIMIT 1[0m
|
1756
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 43' LIMIT 1
|
1757
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "МОЛЬ"], ["factor", 98.02], ["int_code", "STU"], ["measure", "ПРОЧИЕ"], ["name", "Единица 43"], ["num", "044"]]
|
1758
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
|
1759
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "7db16841-f3cb-44a6-a7ac-f7546e393576"]]
|
1760
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1761
|
+
Started GET "/okei/api/v1/units?measure=%D0%94%D0%9B%D0%98%D0%9D%D0%90" for 127.0.0.1 at 2014-10-23 11:18:13 +0400
|
1762
|
+
Processing by Okei::Api::V1::UnitsController#index as JSON
|
1763
|
+
Parameters: {"measure"=>"ДЛИНА"}
|
1764
|
+
Unpermitted parameters: format
|
1765
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."measure" = 'ДЛИНА' ORDER BY "okei_units"."code" ASC[0m
|
1766
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? ORDER BY "uuids_uuids"."id" ASC LIMIT 1 [["record_id", 1], ["record_type", "Okei::Unit"]]
|
1767
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.8ms)
|
1768
|
+
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms)
|
1769
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1770
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1771
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1772
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1773
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1774
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МИЛЬ' LIMIT 1
|
1775
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 44' LIMIT 1[0m
|
1776
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "МИЛЬ"], ["factor", 715.49], ["int_code", "TUV"], ["measure", "ДЛИНА"], ["name", "Единица 44"], ["num", "045"]]
|
1777
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
1778
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "4274ad59-f9a6-42b6-9341-0ba505b45953"]]
|
1779
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1780
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1781
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МОЛЬ' LIMIT 1[0m
|
1782
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 45' LIMIT 1
|
1783
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "МОЛЬ"], ["factor", 819.53], ["int_code", "UVW"], ["measure", "ПРОЧИЕ"], ["name", "Единица 45"], ["num", "046"]]
|
1784
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
|
1785
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "3915783e-538e-4d50-99ba-7952066b248e"]]
|
1786
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1787
|
+
Started GET "/okei/api/v1/units?measure=%D0%94%D0%9B%D0%98%D0%9D%D0%90" for 127.0.0.1 at 2014-10-23 11:18:13 +0400
|
1788
|
+
Processing by Okei::Api::V1::UnitsController#index as JSON
|
1789
|
+
Parameters: {"measure"=>"ДЛИНА"}
|
1790
|
+
Unpermitted parameters: format
|
1791
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."measure" = 'ДЛИНА' ORDER BY "okei_units"."code" ASC[0m
|
1792
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? ORDER BY "uuids_uuids"."id" ASC LIMIT 1 [["record_id", 1], ["record_type", "Okei::Unit"]]
|
1793
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.9ms)
|
1794
|
+
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms)
|
1795
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1796
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1797
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1798
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1799
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1800
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МИЛЬ' LIMIT 1
|
1801
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 46' LIMIT 1[0m
|
1802
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "МИЛЬ"], ["factor", 666.03], ["int_code", "VWA"], ["measure", "ДЛИНА"], ["name", "Единица 46"], ["num", "047"]]
|
1803
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
1804
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "13b5dfc1-c18a-4f7b-84f4-75216b92fe0b"]]
|
1805
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1806
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1807
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МОЛЬ' LIMIT 1[0m
|
1808
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 47' LIMIT 1
|
1809
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "МОЛЬ"], ["factor", 389.26], ["int_code", "WXB"], ["measure", "ПРОЧИЕ"], ["name", "Единица 47"], ["num", "048"]]
|
1810
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
|
1811
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "0db79c3b-ba3e-418c-b6ce-5638b66694ac"]]
|
1812
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1813
|
+
Started GET "/okei/api/v1/units" for 127.0.0.1 at 2014-10-23 11:18:13 +0400
|
1814
|
+
Processing by Okei::Api::V1::UnitsController#index as JSON
|
1815
|
+
Unpermitted parameters: format
|
1816
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC[0m
|
1817
|
+
[1m[35mUuids::Uuid Load (0.1ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? ORDER BY "uuids_uuids"."id" ASC LIMIT 1 [["record_id", 1], ["record_type", "Okei::Unit"]]
|
1818
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.7ms)
|
1819
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? ORDER BY "uuids_uuids"."id" ASC LIMIT 1[0m [["record_id", 2], ["record_type", "Okei::Unit"]]
|
1820
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.6ms)
|
1821
|
+
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.2ms)
|
1822
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1823
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1824
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1825
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1826
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1827
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МИЛЬ' LIMIT 1[0m
|
1828
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 48' LIMIT 1
|
1829
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "МИЛЬ"], ["factor", 568.39], ["int_code", "XAC"], ["measure", "ДЛИНА"], ["name", "Единица 48"], ["num", "049"]]
|
1830
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
1831
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "d918f8a2-6b3b-4c2b-8920-0fd6a028889b"]]
|
1832
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1833
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1834
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МОЛЬ' LIMIT 1
|
1835
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 49' LIMIT 1[0m
|
1836
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "МОЛЬ"], ["factor", 959.75], ["int_code", "YBD"], ["measure", "ПРОЧИЕ"], ["name", "Единица 49"], ["num", "050"]]
|
1837
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 2]]
|
1838
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "57688161-4344-464b-b295-9077f6032280"]]
|
1839
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1840
|
+
Started GET "/okei/api/v1/units" for 127.0.0.1 at 2014-10-23 11:18:13 +0400
|
1841
|
+
Processing by Okei::Api::V1::UnitsController#index as JSON
|
1842
|
+
Unpermitted parameters: format
|
1843
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC
|
1844
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? ORDER BY "uuids_uuids"."id" ASC LIMIT 1[0m [["record_id", 1], ["record_type", "Okei::Unit"]]
|
1845
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.8ms)
|
1846
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? ORDER BY "uuids_uuids"."id" ASC LIMIT 1 [["record_id", 2], ["record_type", "Okei::Unit"]]
|
1847
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.6ms)
|
1848
|
+
Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.2ms)
|
1849
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1850
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1851
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1852
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1853
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1854
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МИЛЬ' LIMIT 1
|
1855
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 50' LIMIT 1[0m
|
1856
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "МИЛЬ"], ["factor", 765.12], ["int_code", "ACE"], ["measure", "ДЛИНА"], ["name", "Единица 50"], ["num", "051"]]
|
1857
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
1858
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "03ee81c1-f6f0-45dc-a2cb-83ffbec477a4"]]
|
1859
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1860
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1861
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МОЛЬ' LIMIT 1[0m
|
1862
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 51' LIMIT 1
|
1863
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "МОЛЬ"], ["factor", 214.61], ["int_code", "BDF"], ["measure", "ПРОЧИЕ"], ["name", "Единица 51"], ["num", "052"]]
|
1864
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
|
1865
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "1dfe7cf4-44ac-46c4-a360-8097f88f182d"]]
|
1866
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1867
|
+
Started GET "/okei/api/v1/units" for 127.0.0.1 at 2014-10-23 11:18:13 +0400
|
1868
|
+
Processing by Okei::Api::V1::UnitsController#index as JSON
|
1869
|
+
Unpermitted parameters: format
|
1870
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC[0m
|
1871
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? ORDER BY "uuids_uuids"."id" ASC LIMIT 1 [["record_id", 1], ["record_type", "Okei::Unit"]]
|
1872
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.7ms)
|
1873
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? ORDER BY "uuids_uuids"."id" ASC LIMIT 1[0m [["record_id", 2], ["record_type", "Okei::Unit"]]
|
1874
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.6ms)
|
1875
|
+
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.2ms)
|
1876
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1877
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1878
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1879
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1880
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1881
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 30' LIMIT 1[0m
|
1882
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 52' LIMIT 1
|
1883
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ЕИ 30"], ["factor", 931.3], ["int_code", "CEG"], ["measure", "Длина"], ["name", "Единица 52"], ["num", "053"]]
|
1884
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
1885
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "6dee4c74-b8be-4dbb-b556-f843b8e9f923"]]
|
1886
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1887
|
+
Started GET "/okei/api/v1/units/00000000-0000-0000-0000-000000000000" for 127.0.0.1 at 2014-10-23 11:18:13 +0400
|
1888
|
+
Processing by Okei::Api::V1::UnitsController#show as JSON
|
1889
|
+
Parameters: {"uuid"=>"00000000-0000-0000-0000-000000000000"}
|
1890
|
+
Unpermitted parameters: format
|
1891
|
+
[1m[36mOkei::Unit Load (0.2ms)[0m [1mSELECT DISTINCT "okei_units".* FROM "okei_units" INNER JOIN "uuids_uuids" ON "uuids_uuids"."record_id" = "okei_units"."id" AND "uuids_uuids"."record_type" = 'Okei::Unit' WHERE "uuids_uuids"."value" = '00000000-0000-0000-0000-000000000000' ORDER BY "okei_units"."id" ASC LIMIT 1[0m
|
1892
|
+
Completed 404 Not Found in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms)
|
1893
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1894
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1895
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1896
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1897
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1898
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 31' LIMIT 1[0m
|
1899
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 53' LIMIT 1
|
1900
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ЕИ 31"], ["factor", 993.87], ["int_code", "DFH"], ["measure", "Длина"], ["name", "Единица 53"], ["num", "054"]]
|
1901
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
1902
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "ea2ef439-faa5-4da7-bb78-f710ebeb95a3"]]
|
1903
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1904
|
+
Started GET "/okei/api/v1/units/00000000-0000-0000-0000-000000000000" for 127.0.0.1 at 2014-10-23 11:18:13 +0400
|
1905
|
+
Processing by Okei::Api::V1::UnitsController#show as JSON
|
1906
|
+
Parameters: {"uuid"=>"00000000-0000-0000-0000-000000000000"}
|
1907
|
+
Unpermitted parameters: format
|
1908
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT DISTINCT "okei_units".* FROM "okei_units" INNER JOIN "uuids_uuids" ON "uuids_uuids"."record_id" = "okei_units"."id" AND "uuids_uuids"."record_type" = 'Okei::Unit' WHERE "uuids_uuids"."value" = '00000000-0000-0000-0000-000000000000' ORDER BY "okei_units"."id" ASC LIMIT 1[0m
|
1909
|
+
Completed 404 Not Found in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms)
|
1910
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1911
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1912
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1913
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1914
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1915
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 32' LIMIT 1[0m
|
1916
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 54' LIMIT 1
|
1917
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ЕИ 32"], ["factor", 850.43], ["int_code", "EGI"], ["measure", "Длина"], ["name", "Единица 54"], ["num", "055"]]
|
1918
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
1919
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "08764958-d635-4b3b-a8e4-283c2bc5d17b"]]
|
1920
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1921
|
+
Started GET "/okei/api/v1/units/08764958-d635-4b3b-a8e4-283c2bc5d17b" for 127.0.0.1 at 2014-10-23 11:18:13 +0400
|
1922
|
+
Processing by Okei::Api::V1::UnitsController#show as JSON
|
1923
|
+
Parameters: {"uuid"=>"08764958-d635-4b3b-a8e4-283c2bc5d17b"}
|
1924
|
+
Unpermitted parameters: format
|
1925
|
+
[1m[36mOkei::Unit Load (0.2ms)[0m [1mSELECT DISTINCT "okei_units".* FROM "okei_units" INNER JOIN "uuids_uuids" ON "uuids_uuids"."record_id" = "okei_units"."id" AND "uuids_uuids"."record_type" = 'Okei::Unit' WHERE "uuids_uuids"."value" = '08764958-d635-4b3b-a8e4-283c2bc5d17b' ORDER BY "okei_units"."id" ASC LIMIT 1[0m
|
1926
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? ORDER BY "uuids_uuids"."id" ASC LIMIT 1 [["record_id", 1], ["record_type", "Okei::Unit"]]
|
1927
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.8ms)
|
1928
|
+
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.2ms)
|
1929
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1930
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1931
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1932
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1933
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1934
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 33' LIMIT 1
|
1935
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 55' LIMIT 1[0m
|
1936
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 33"], ["factor", 37.35], ["int_code", "FHJ"], ["measure", "Длина"], ["name", "Единица 55"], ["num", "056"]]
|
1937
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
1938
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "9d8bb92e-eb47-4136-aea4-7cec02d54822"]]
|
1939
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1940
|
+
Started GET "/okei/api/v1/units/9d8bb92e-eb47-4136-aea4-7cec02d54822" for 127.0.0.1 at 2014-10-23 11:18:13 +0400
|
1941
|
+
Processing by Okei::Api::V1::UnitsController#show as JSON
|
1942
|
+
Parameters: {"uuid"=>"9d8bb92e-eb47-4136-aea4-7cec02d54822"}
|
1943
|
+
Unpermitted parameters: format
|
1944
|
+
[1m[35mOkei::Unit Load (0.2ms)[0m SELECT DISTINCT "okei_units".* FROM "okei_units" INNER JOIN "uuids_uuids" ON "uuids_uuids"."record_id" = "okei_units"."id" AND "uuids_uuids"."record_type" = 'Okei::Unit' WHERE "uuids_uuids"."value" = '9d8bb92e-eb47-4136-aea4-7cec02d54822' ORDER BY "okei_units"."id" ASC LIMIT 1
|
1945
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? ORDER BY "uuids_uuids"."id" ASC LIMIT 1[0m [["record_id", 1], ["record_type", "Okei::Unit"]]
|
1946
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.7ms)
|
1947
|
+
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms)
|
1948
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1949
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1950
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1951
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1952
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1953
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 34' LIMIT 1[0m
|
1954
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 56' LIMIT 1
|
1955
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ЕИ 34"], ["factor", 403.05], ["int_code", "GIK"], ["measure", "Длина"], ["name", "Единица 56"], ["num", "057"]]
|
1956
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
1957
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "d2491650-5377-4403-a420-a73058e9ebaf"]]
|
1958
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1959
|
+
Started GET "/okei/api/v1/units/d2491650-5377-4403-a420-a73058e9ebaf" for 127.0.0.1 at 2014-10-23 11:18:13 +0400
|
1960
|
+
Processing by Okei::Api::V1::UnitsController#show as JSON
|
1961
|
+
Parameters: {"uuid"=>"d2491650-5377-4403-a420-a73058e9ebaf"}
|
1962
|
+
Unpermitted parameters: format
|
1963
|
+
[1m[36mOkei::Unit Load (0.2ms)[0m [1mSELECT DISTINCT "okei_units".* FROM "okei_units" INNER JOIN "uuids_uuids" ON "uuids_uuids"."record_id" = "okei_units"."id" AND "uuids_uuids"."record_type" = 'Okei::Unit' WHERE "uuids_uuids"."value" = 'd2491650-5377-4403-a420-a73058e9ebaf' ORDER BY "okei_units"."id" ASC LIMIT 1[0m
|
1964
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? ORDER BY "uuids_uuids"."id" ASC LIMIT 1 [["record_id", 1], ["record_type", "Okei::Unit"]]
|
1965
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.7ms)
|
1966
|
+
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms)
|
1967
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1968
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1969
|
+
[1m[35m (4.5ms)[0m DELETE FROM "corrector_bases";
|
1970
|
+
[1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1971
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'corrector_bases';
|
1972
|
+
[1m[36m (3.3ms)[0m [1mDELETE FROM "uuids_uuids";[0m
|
1973
|
+
[1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1974
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'uuids_uuids';[0m
|
1975
|
+
[1m[35m (3.2ms)[0m DELETE FROM "okei_units";
|
1976
|
+
[1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1977
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'okei_units';
|
1978
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1979
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1980
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1981
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
1982
|
+
Rendered okei/api/v1/responder/errors.json (0.2ms)
|
1983
|
+
Completed 404 Not Found in 6ms (Views: 5.8ms | ActiveRecord: 0.0ms)
|
1984
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1985
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1986
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1987
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1988
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
1989
|
+
Completed 404 Not Found in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
|
1990
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1991
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1992
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1993
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1994
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
1995
|
+
Completed 404 Not Found in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
|
1996
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1997
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1998
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1999
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2000
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
2001
|
+
Completed 500 Internal Server Error in 3ms
|
2002
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2003
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2004
|
+
[1m[35m (0.1ms)[0m commit transaction
|
2005
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2006
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
2007
|
+
Completed 500 Internal Server Error in 1ms
|
2008
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2009
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2010
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2011
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2012
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
2013
|
+
Completed 500 Internal Server Error in 1ms
|
2014
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2015
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2016
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2017
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2018
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
2019
|
+
Completed 500 Internal Server Error in 2ms
|
2020
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2021
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2022
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2023
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2024
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
2025
|
+
Completed 500 Internal Server Error in 1ms
|
2026
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2027
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2028
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2029
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2030
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
2031
|
+
Completed 500 Internal Server Error in 1ms
|
2032
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2033
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2034
|
+
[1m[35m (0.1ms)[0m commit transaction
|
2035
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2036
|
+
Processing by Okei::Api::V1::UnitsController#show as HTML
|
2037
|
+
Parameters: {"wrong"=>"wrong", "uuid"=>"00000000-0000-0000-0000-000000000000"}
|
2038
|
+
Unpermitted parameters: wrong
|
2039
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
2040
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2041
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2042
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2043
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2044
|
+
Processing by Okei::Api::V1::UnitsController#show as HTML
|
2045
|
+
Parameters: {"wrong"=>"wrong", "uuid"=>"00000000-0000-0000-0000-000000000000"}
|
2046
|
+
Unpermitted parameters: wrong
|
2047
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
2048
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2049
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2050
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2051
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2052
|
+
Processing by Okei::Api::V1::UnitsController#show as HTML
|
2053
|
+
Parameters: {"wrong"=>"wrong", "uuid"=>"00000000-0000-0000-0000-000000000000"}
|
2054
|
+
Unpermitted parameters: wrong
|
2055
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
2056
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2057
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2058
|
+
[1m[35m (0.1ms)[0m commit transaction
|
2059
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2060
|
+
Processing by Okei::Api::V1::UnitsController#search as HTML
|
2061
|
+
Parameters: {"text"=>"text", "wrong"=>"wrong"}
|
2062
|
+
Unpermitted parameters: wrong
|
2063
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
2064
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2065
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2066
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2067
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2068
|
+
Processing by Okei::Api::V1::UnitsController#search as HTML
|
2069
|
+
Parameters: {"text"=>"text", "wrong"=>"wrong"}
|
2070
|
+
Unpermitted parameters: wrong
|
2071
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
2072
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2073
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2074
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2075
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2076
|
+
Processing by Okei::Api::V1::UnitsController#search as HTML
|
2077
|
+
Parameters: {"text"=>"text", "wrong"=>"wrong"}
|
2078
|
+
Unpermitted parameters: wrong
|
2079
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
2080
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2081
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2082
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2083
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2084
|
+
Processing by Okei::Api::V1::UnitsController#index as HTML
|
2085
|
+
Parameters: {"measure"=>"measure", "code"=>"code"}
|
2086
|
+
Unpermitted parameters: code
|
2087
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
2088
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2089
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2090
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2091
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2092
|
+
Processing by Okei::Api::V1::UnitsController#index as HTML
|
2093
|
+
Parameters: {"measure"=>"measure", "code"=>"code"}
|
2094
|
+
Unpermitted parameters: code
|
2095
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
2096
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2097
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2098
|
+
[1m[35m (0.1ms)[0m commit transaction
|
2099
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2100
|
+
Processing by Okei::Api::V1::UnitsController#index as HTML
|
2101
|
+
Parameters: {"measure"=>"measure", "code"=>"code"}
|
2102
|
+
Unpermitted parameters: code
|
2103
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
2104
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2105
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2106
|
+
[1m[35m (5.5ms)[0m DELETE FROM "corrector_bases";
|
2107
|
+
[1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2108
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'corrector_bases';
|
2109
|
+
[1m[36m (3.0ms)[0m [1mDELETE FROM "uuids_uuids";[0m
|
2110
|
+
[1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2111
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'uuids_uuids';[0m
|
2112
|
+
[1m[35m (2.8ms)[0m DELETE FROM "okei_units";
|
2113
|
+
[1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2114
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'okei_units';
|
2115
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2116
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2117
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2118
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
2119
|
+
Rendered okei/api/v1/responder/errors.json (0.2ms)
|
2120
|
+
Completed 404 Not Found in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)
|
2121
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2122
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2123
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2124
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2125
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
2126
|
+
Completed 404 Not Found in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
|
2127
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2128
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2129
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2130
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2131
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
2132
|
+
Completed 404 Not Found in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
|
2133
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2134
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2135
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2136
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2137
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
2138
|
+
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
|
2139
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2140
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2141
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2142
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2143
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
2144
|
+
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
|
2145
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2146
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2147
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2148
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2149
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
2150
|
+
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
|
2151
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2152
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2153
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2154
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2155
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
2156
|
+
Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)
|
2157
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2158
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2159
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2160
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2161
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
2162
|
+
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
|
2163
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2164
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2165
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2166
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2167
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
2168
|
+
Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
|
2169
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2170
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2171
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2172
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2173
|
+
Processing by Okei::Api::V1::UnitsController#show as HTML
|
2174
|
+
Parameters: {"wrong"=>"wrong", "uuid"=>"00000000-0000-0000-0000-000000000000"}
|
2175
|
+
Unpermitted parameters: wrong
|
2176
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
2177
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2178
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2179
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2180
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2181
|
+
Processing by Okei::Api::V1::UnitsController#show as HTML
|
2182
|
+
Parameters: {"wrong"=>"wrong", "uuid"=>"00000000-0000-0000-0000-000000000000"}
|
2183
|
+
Unpermitted parameters: wrong
|
2184
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
2185
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2186
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2187
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2188
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2189
|
+
Processing by Okei::Api::V1::UnitsController#show as HTML
|
2190
|
+
Parameters: {"wrong"=>"wrong", "uuid"=>"00000000-0000-0000-0000-000000000000"}
|
2191
|
+
Unpermitted parameters: wrong
|
2192
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
2193
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2194
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2195
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2196
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2197
|
+
Processing by Okei::Api::V1::UnitsController#search as HTML
|
2198
|
+
Parameters: {"text"=>"text", "wrong"=>"wrong"}
|
2199
|
+
Unpermitted parameters: wrong
|
2200
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
2201
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2202
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2203
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2204
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2205
|
+
Processing by Okei::Api::V1::UnitsController#search as HTML
|
2206
|
+
Parameters: {"text"=>"text", "wrong"=>"wrong"}
|
2207
|
+
Unpermitted parameters: wrong
|
2208
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
2209
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2210
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2211
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2212
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2213
|
+
Processing by Okei::Api::V1::UnitsController#search as HTML
|
2214
|
+
Parameters: {"text"=>"text", "wrong"=>"wrong"}
|
2215
|
+
Unpermitted parameters: wrong
|
2216
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
2217
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2218
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2219
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2220
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2221
|
+
Processing by Okei::Api::V1::UnitsController#index as HTML
|
2222
|
+
Parameters: {"measure"=>"measure", "code"=>"code"}
|
2223
|
+
Unpermitted parameters: code
|
2224
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
2225
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2226
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2227
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2228
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2229
|
+
Processing by Okei::Api::V1::UnitsController#index as HTML
|
2230
|
+
Parameters: {"measure"=>"measure", "code"=>"code"}
|
2231
|
+
Unpermitted parameters: code
|
2232
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
2233
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2234
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2235
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2236
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2237
|
+
Processing by Okei::Api::V1::UnitsController#index as HTML
|
2238
|
+
Parameters: {"measure"=>"measure", "code"=>"code"}
|
2239
|
+
Unpermitted parameters: code
|
2240
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
2241
|
+
[1m[35m (0.0ms)[0m rollback transaction
|