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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 81b600acfba27c3f044bc82b84d542d579d60235
4
- data.tar.gz: f69c25ba1d14616ec08bdf794bbd80f4eea860a8
3
+ metadata.gz: a418052c1bc3ff9739db9889d24e4f751aadb187
4
+ data.tar.gz: 45ed7957c003b003290d85653edc7ffafeae7d92
5
5
  SHA512:
6
- metadata.gz: 2e619d2a2791063a92ddccfad38d9033d289806a523771b609c63e1c46d610e15e671c31ef80544c2a31f9c9cf9b4be8a47e1ebc07a5f6df0d57a4efd4749372
7
- data.tar.gz: 90fe7b687f05b3c50460f5c928919e9e44db1795c38354ec7d67bdfba360a17381ca67fad69a2250904912edca258618628db2e46c0fc5988cad4881e4e334d5
6
+ metadata.gz: c98c4892af2d33053ecdb9ca737f689c6b91abd85d6f291611dc695ded177eb9121a9ec99ad9be165702347ae70817fcb6ee9ffb9ff85c95e79a3fda6c505b94
7
+ data.tar.gz: a917875943e595efb60a21ab805102f7d6e3984cf33bfa63d3e5c29ac8d4755d9b12a62ffbb7f142287c1412f68e8a3d8a1fa42001ee37babe9eab87808581b8
@@ -5,7 +5,7 @@ module Okei
5
5
  module V1
6
6
 
7
7
  # Responds to client depending on use case results
8
- class Responder < ::ApplicationController
8
+ class ResponderController < ::ApplicationController
9
9
 
10
10
  # Renders a list of units of measure.
11
11
  #
@@ -9,7 +9,7 @@ module Okei
9
9
  module V1
10
10
 
11
11
  # Controller for getting units
12
- class UnitsController < Responder
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
- # `Responder` parent class.
35
+ # `ResponderController` base class.
36
36
  #
37
37
  def run_case(klass, with:)
38
38
  use_case = klass.new params.permit(*with)
@@ -2,5 +2,5 @@
2
2
  module Okei
3
3
 
4
4
  # Current release.
5
- VERSION = "1.0.0"
5
+ VERSION = "1.0.1"
6
6
  end
@@ -4,13 +4,13 @@ require "spec_helper"
4
4
  module Okei
5
5
  module Api
6
6
  module V1
7
- describe Responder do
7
+ describe ResponderController do
8
8
 
9
9
  routes { Okei::Engine.routes }
10
10
 
11
11
  describe "#on_success" do
12
12
 
13
- controller(UnitsController) { def index; on_success :units; end }
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(UnitsController) { def index; on_found :unit; end }
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(UnitsController) do
49
+ controller(ResponderController) do
50
50
  def index; on_not_found :messages; end
51
51
  end
52
52
  before { get :index, format: :json }
@@ -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
@@ -0,0 +1,2241 @@
1
+  (5.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2
+  (0.1ms) select sqlite_version(*)
3
+  (3.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
5
+ Migrating to CreateCorrectorBases (20141018085223)
6
+  (0.1ms) begin transaction
7
+  (0.8ms) 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
+  (0.3ms) CREATE UNIQUE INDEX "index_corrector_bases_on_scope_and_from" ON "corrector_bases" ("scope", "from")
9
+  (0.2ms) 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
+  (0.3ms) CREATE INDEX "index_corrector_bases_on_type" ON "corrector_bases" ("type")
18
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141018085223"]]
19
+  (3.3ms) commit transaction
20
+ Migrating to CreateUuidsUuids (20141018085226)
21
+  (0.1ms) begin transaction
22
+  (0.7ms) CREATE 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) 
23
+  (0.2ms) CREATE INDEX "index_uuids_uuids_on_record_id_and_record_type" ON "uuids_uuids" ("record_id", "record_type")
24
+  (0.1ms)  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
+ 
32
+  (0.2ms) CREATE UNIQUE INDEX "index_uuids_uuids_on_value" ON "uuids_uuids" ("value")
33
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141018085226"]]
34
+  (3.0ms) commit transaction
35
+ Migrating to CreateOkeiUnits (20141019072900)
36
+  (0.1ms) begin transaction
37
+  (0.5ms) 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
+  (0.2ms) CREATE UNIQUE INDEX "index_okei_units_on_code" ON "okei_units" ("code")
39
+  (0.1ms) 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
+  (0.2ms) CREATE INDEX "index_okei_units_on_base" ON "okei_units" ("base")
48
+  (0.1ms) 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
+  (0.1ms)  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
+ 
64
+  (0.2ms) CREATE INDEX "index_okei_units_on_measure" ON "okei_units" ("measure")
65
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141019072900"]]
66
+  (4.1ms) commit transaction
67
+ Migrating to PopulateOkeiUnits (20141019072901)
68
+  (0.1ms) begin transaction
69
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141019072901"]]
70
+  (3.3ms) commit transaction
71
+ Migrating to PopulateOkeiCorrectors (20141019072902)
72
+  (0.1ms) begin transaction
73
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141019072902"]]
74
+  (2.3ms) commit transaction
75
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
76
+  (0.1ms) 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
+  (0.1ms)  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
+ 
92
+  (0.1ms) 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
+  (0.1ms)  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
+ 
108
+  (0.1ms) 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
+  (0.1ms)  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
+ 
124
+  (0.1ms) 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
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
133
+  (5.4ms) DELETE FROM "corrector_bases";
134
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
135
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'corrector_bases';
136
+  (3.3ms) DELETE FROM "uuids_uuids";
137
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
138
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'uuids_uuids';
139
+  (3.1ms) DELETE FROM "okei_units";
140
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'okei_units';
142
+  (0.1ms) begin transaction
143
+  (0.1ms) commit transaction
144
+  (0.1ms) begin transaction
145
+ Processing by Okei::Api::V1::Responder#index as JSON
146
+ Completed 500 Internal Server Error in 7ms
147
+  (0.1ms) rollback transaction
148
+  (0.0ms) begin transaction
149
+  (0.0ms) commit transaction
150
+  (0.0ms) begin transaction
151
+ Processing by Okei::Api::V1::Responder#index as JSON
152
+ Completed 500 Internal Server Error in 1ms
153
+  (0.0ms) rollback transaction
154
+  (0.0ms) begin transaction
155
+  (0.0ms) commit transaction
156
+  (0.0ms) begin transaction
157
+ Processing by Okei::Api::V1::Responder#index as JSON
158
+ Completed 500 Internal Server Error in 1ms
159
+  (0.0ms) rollback transaction
160
+  (0.0ms) begin transaction
161
+  (0.0ms) commit transaction
162
+  (0.0ms) begin transaction
163
+ Processing by Okei::Api::V1::Responder#index as JSON
164
+ Completed 500 Internal Server Error in 1ms
165
+  (0.0ms) rollback transaction
166
+  (0.0ms) begin transaction
167
+  (0.0ms) commit transaction
168
+  (0.0ms) begin transaction
169
+ Processing by Okei::Api::V1::Responder#index as JSON
170
+ Completed 500 Internal Server Error in 1ms
171
+  (0.1ms) rollback transaction
172
+  (0.0ms) begin transaction
173
+  (0.0ms) commit transaction
174
+  (0.0ms) begin transaction
175
+ Processing by Okei::Api::V1::Responder#index as JSON
176
+ Completed 500 Internal Server Error in 1ms
177
+  (0.0ms) rollback transaction
178
+  (0.0ms) begin transaction
179
+  (0.0ms) commit transaction
180
+  (0.0ms) begin transaction
181
+ Processing by Okei::Api::V1::UnitsController#index as JSON
182
+ Completed 404 Not Found in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
183
+  (0.1ms) rollback transaction
184
+  (0.8ms) begin transaction
185
+  (0.1ms) commit transaction
186
+  (0.2ms) begin transaction
187
+ Processing by Okei::Api::V1::UnitsController#index as JSON
188
+ Completed 404 Not Found in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
189
+  (0.1ms) rollback transaction
190
+  (0.0ms) begin transaction
191
+  (0.0ms) commit transaction
192
+  (0.0ms) begin transaction
193
+ Processing by Okei::Api::V1::UnitsController#index as JSON
194
+ Completed 404 Not Found in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)
195
+  (0.0ms) rollback transaction
196
+  (0.0ms) begin transaction
197
+  (0.0ms) commit transaction
198
+  (0.0ms) begin transaction
199
+  (0.1ms) rollback transaction
200
+  (0.0ms) begin transaction
201
+  (0.0ms) commit transaction
202
+  (0.0ms) begin transaction
203
+  (0.0ms) rollback transaction
204
+  (0.0ms) begin transaction
205
+  (0.0ms) commit transaction
206
+  (0.0ms) begin transaction
207
+  (0.0ms) rollback transaction
208
+  (0.0ms) begin transaction
209
+  (0.0ms) commit transaction
210
+  (0.0ms) begin transaction
211
+  (0.0ms) rollback transaction
212
+  (0.0ms) begin transaction
213
+  (0.0ms) commit transaction
214
+  (0.1ms) begin transaction
215
+  (0.0ms) rollback transaction
216
+  (0.0ms) begin transaction
217
+  (0.0ms) commit transaction
218
+  (0.0ms) begin transaction
219
+  (0.0ms) rollback transaction
220
+  (0.0ms) begin transaction
221
+  (0.0ms) commit transaction
222
+  (0.0ms) begin transaction
223
+  (0.0ms) rollback transaction
224
+  (0.0ms) begin transaction
225
+  (0.0ms) commit transaction
226
+  (0.0ms) begin transaction
227
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 1' LIMIT 1
228
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 1' LIMIT 1
229
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 1' LIMIT 1
230
+  (0.0ms) rollback transaction
231
+  (0.0ms) begin transaction
232
+  (0.0ms) commit transaction
233
+  (0.0ms) begin transaction
234
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 2' LIMIT 1
235
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 2' LIMIT 1
236
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 2' LIMIT 1
237
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 2' LIMIT 1
238
+  (0.0ms) rollback transaction
239
+  (0.0ms) begin transaction
240
+  (0.0ms) commit transaction
241
+  (0.0ms) begin transaction
242
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 3' LIMIT 1
243
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 3' LIMIT 1
244
+  (0.0ms) SAVEPOINT active_record_1
245
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 3' LIMIT 1
246
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 4' LIMIT 1
247
+ SQL (2.2ms) 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
+ Okei::Unit Load (0.2ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
249
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "d13bd410-0788-4d60-a043-517d2263e3a5"]]
250
+  (0.0ms) RELEASE SAVEPOINT active_record_1
251
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 3' LIMIT 1
252
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 3' LIMIT 1
253
+  (0.1ms) rollback transaction
254
+  (0.0ms) begin transaction
255
+  (0.0ms) commit transaction
256
+  (0.0ms) begin transaction
257
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 4' LIMIT 1
258
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 5' LIMIT 1
259
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 5' LIMIT 1
260
+  (0.0ms) rollback transaction
261
+  (0.0ms) begin transaction
262
+  (0.0ms) commit transaction
263
+  (0.0ms) begin transaction
264
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 5' LIMIT 1
265
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 6' LIMIT 1
266
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 5' LIMIT 1
267
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 6' LIMIT 1
268
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 5' LIMIT 1
269
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 6' LIMIT 1
270
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 5' LIMIT 1
271
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 6' LIMIT 1
272
+  (0.0ms) rollback transaction
273
+  (0.0ms) begin transaction
274
+  (0.0ms) commit transaction
275
+  (0.1ms) begin transaction
276
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 6' LIMIT 1
277
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 7' LIMIT 1
278
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 6' LIMIT 1
279
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 7' LIMIT 1
280
+  (0.0ms) rollback transaction
281
+  (0.0ms) begin transaction
282
+  (0.0ms) commit transaction
283
+  (0.0ms) begin transaction
284
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 7' LIMIT 1
285
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 8' LIMIT 1
286
+  (0.0ms) SAVEPOINT active_record_1
287
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 8' LIMIT 1
288
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 9' LIMIT 1
289
+ SQL (0.4ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
291
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "faad80e8-b5fb-402f-b960-5a72c72577e2"]]
292
+  (0.1ms) RELEASE SAVEPOINT active_record_1
293
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 7' LIMIT 1
294
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 8' LIMIT 1
295
+  (0.2ms) rollback transaction
296
+  (0.0ms) begin transaction
297
+  (0.0ms) commit transaction
298
+  (0.0ms) begin transaction
299
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 9' LIMIT 1
300
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 10' LIMIT 1
301
+  (0.0ms) SAVEPOINT active_record_1
302
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 10' LIMIT 1
303
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 10' LIMIT 1
304
+ SQL (0.3ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 10"], ["factor", 939.51], ["int_code", "KKK"], ["measure", "Длина"], ["name", "Единица 10"], ["num", "012"]]
305
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
306
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "8aa45c4a-f66a-44ff-a3b1-050f4a7ba887"]]
307
+  (0.0ms) RELEASE SAVEPOINT active_record_1
308
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 9' LIMIT 1
309
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 10' LIMIT 1
310
+  (0.1ms) rollback transaction
311
+  (0.0ms) begin transaction
312
+  (0.0ms) commit transaction
313
+  (0.0ms) begin transaction
314
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 11' LIMIT 1
315
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 11' LIMIT 1
316
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 11' LIMIT 1
317
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 11' LIMIT 1
318
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 11' LIMIT 1
319
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 11' LIMIT 1
320
+  (0.0ms) rollback transaction
321
+  (0.0ms) begin transaction
322
+  (0.0ms) commit transaction
323
+  (0.0ms) begin transaction
324
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 12' LIMIT 1
325
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 12' LIMIT 1
326
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 12' LIMIT 1
327
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 12' LIMIT 1
328
+  (0.0ms) rollback transaction
329
+  (0.0ms) begin transaction
330
+  (0.0ms) commit transaction
331
+  (0.0ms) begin transaction
332
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 13' LIMIT 1
333
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 13' LIMIT 1
334
+  (0.0ms) SAVEPOINT active_record_1
335
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 14' LIMIT 1
336
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 14' LIMIT 1
337
+ SQL (0.4ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
339
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "ff2e9e63-9a7e-49df-ba7e-523cf2ac1973"]]
340
+  (0.0ms) RELEASE SAVEPOINT active_record_1
341
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 13' LIMIT 1
342
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 13' LIMIT 1
343
+  (0.1ms) rollback transaction
344
+  (0.0ms) begin transaction
345
+  (0.0ms) commit transaction
346
+  (0.0ms) begin transaction
347
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 15' LIMIT 1
348
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 15' LIMIT 1
349
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 15' LIMIT 1
350
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 15' LIMIT 1
351
+  (0.0ms) rollback transaction
352
+  (0.0ms) begin transaction
353
+  (0.0ms) commit transaction
354
+  (0.0ms) begin transaction
355
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 16' LIMIT 1
356
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 16' LIMIT 1
357
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 16' LIMIT 1
358
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 16' LIMIT 1
359
+  (0.0ms) rollback transaction
360
+  (0.0ms) begin transaction
361
+  (0.0ms) commit transaction
362
+  (0.0ms) begin transaction
363
+  (0.0ms) rollback transaction
364
+  (0.0ms) begin transaction
365
+  (0.0ms) commit transaction
366
+  (0.0ms) begin transaction
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
+  (0.1ms) rollback transaction
372
+  (0.0ms) begin transaction
373
+  (0.0ms) commit transaction
374
+  (0.0ms) begin transaction
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
+  (0.0ms) rollback transaction
380
+  (0.0ms) begin transaction
381
+  (0.0ms) commit transaction
382
+  (0.0ms) begin transaction
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
+  (0.0ms) rollback transaction
388
+  (0.0ms) begin transaction
389
+  (0.0ms) commit transaction
390
+  (0.0ms) begin transaction
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
+  (0.0ms) rollback transaction
396
+  (0.1ms) begin transaction
397
+  (0.0ms) commit transaction
398
+  (0.0ms) begin transaction
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
+  (0.0ms) rollback transaction
404
+  (0.0ms) begin transaction
405
+  (0.0ms) commit transaction
406
+  (0.0ms) begin transaction
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
+  (0.0ms) rollback transaction
412
+  (0.0ms) begin transaction
413
+  (0.0ms) commit transaction
414
+  (0.0ms) begin transaction
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
+  (0.0ms) rollback transaction
420
+  (0.0ms) begin transaction
421
+  (0.0ms) commit transaction
422
+  (0.0ms) begin transaction
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
+  (0.0ms) rollback transaction
428
+  (0.0ms) begin transaction
429
+  (0.0ms) commit transaction
430
+  (0.0ms) begin transaction
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
+  (0.1ms) rollback transaction
436
+  (0.0ms) begin transaction
437
+  (0.0ms) commit transaction
438
+  (0.0ms) begin transaction
439
+  (0.0ms) SAVEPOINT active_record_1
440
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
441
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 17' LIMIT 1
442
+ SQL (0.4ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 357.28], ["int_code", "RRR"], ["measure", "Длина"], ["name", "Единица 17"], ["num", "018"]]
443
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
444
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "08753b8c-5553-4e47-a046-f99018285817"]]
445
+  (0.0ms) 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
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1
451
+ Uuids::Uuid Load (0.2ms) 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
+  (0.2ms) rollback transaction
455
+  (0.0ms) begin transaction
456
+  (0.0ms) commit transaction
457
+  (0.0ms) begin transaction
458
+  (0.0ms) SAVEPOINT active_record_1
459
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
460
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 18' LIMIT 1
461
+ SQL (0.3ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
463
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "a1a80c64-87d6-46e4-b051-be3c7848d411"]]
464
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1
470
+ Uuids::Uuid Load (0.1ms) 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"]]
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
+  (0.2ms) rollback transaction
474
+  (0.0ms) begin transaction
475
+  (0.0ms) commit transaction
476
+  (0.0ms) begin transaction
477
+  (0.0ms) SAVEPOINT active_record_1
478
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
479
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 19' LIMIT 1
480
+ SQL (0.4ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 184.2], ["int_code", "TTT"], ["measure", "Длина"], ["name", "Единица 19"], ["num", "020"]]
481
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
482
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "380e0229-97dc-4747-95cd-8c8d80e6a0cf"]]
483
+  (0.0ms) 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
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1
489
+ Uuids::Uuid Load (0.0ms) 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
+  (0.1ms) rollback transaction
493
+  (0.0ms) begin transaction
494
+  (0.1ms) commit transaction
495
+  (0.0ms) begin transaction
496
+  (0.0ms) SAVEPOINT active_record_1
497
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
498
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 20' LIMIT 1
499
+ SQL (0.3ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
501
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "0cf70137-bdba-49e6-aea7-4681e4104c7a"]]
502
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ Okei::Unit Load (0.1ms) 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
+  (0.2ms) rollback transaction
510
+  (0.0ms) begin transaction
511
+  (0.0ms) commit transaction
512
+  (0.0ms) begin transaction
513
+  (0.0ms) SAVEPOINT active_record_1
514
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
515
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 21' LIMIT 1
516
+ SQL (0.3ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
518
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "1cfd00a4-b5c8-4ffe-92de-3875cfa1dbdd"]]
519
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ Okei::Unit Load (0.1ms) 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
+  (0.2ms) rollback transaction
527
+  (0.0ms) begin transaction
528
+  (0.0ms) commit transaction
529
+  (0.0ms) begin transaction
530
+  (0.0ms) SAVEPOINT active_record_1
531
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 17' LIMIT 1
532
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 22' LIMIT 1
533
+ SQL (0.3ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
535
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "97d6c3c8-1cba-4cbc-824d-ef4554729fd1"]]
536
+  (0.0ms) RELEASE SAVEPOINT active_record_1
537
+ Okei::Unit Load (0.2ms) 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
+  (0.2ms) rollback transaction
539
+  (0.0ms) begin transaction
540
+  (0.0ms) commit transaction
541
+  (0.0ms) begin transaction
542
+  (0.0ms) SAVEPOINT active_record_1
543
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 18' LIMIT 1
544
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 23' LIMIT 1
545
+ SQL (0.3ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
547
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "c5ebe6c6-bf30-4c85-a7d3-f7584fdbc695"]]
548
+  (0.0ms) RELEASE SAVEPOINT active_record_1
549
+ Okei::Unit Load (0.1ms) 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
+  (0.1ms) rollback transaction
551
+  (0.0ms) begin transaction
552
+  (0.0ms) commit transaction
553
+  (0.0ms) begin transaction
554
+  (0.0ms) SAVEPOINT active_record_1
555
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 19' LIMIT 1
556
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 24' LIMIT 1
557
+ SQL (0.3ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
559
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "60fc5905-a169-4555-84e8-ff71faadcc93"]]
560
+  (0.0ms) RELEASE SAVEPOINT active_record_1
561
+ Okei::Unit Load (0.1ms) 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
+  (0.1ms) rollback transaction
563
+  (0.0ms) begin transaction
564
+  (0.0ms) commit transaction
565
+  (0.0ms) begin transaction
566
+  (0.0ms) SAVEPOINT active_record_1
567
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 20' LIMIT 1
568
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 25' LIMIT 1
569
+ SQL (0.3ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
571
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "5cc4ca12-a568-4bf6-b9bb-b1b490ba9adc"]]
572
+  (0.0ms) RELEASE SAVEPOINT active_record_1
573
+ Okei::Unit Load (0.1ms) 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
+  (0.2ms) rollback transaction
575
+  (0.0ms) begin transaction
576
+  (0.0ms) commit transaction
577
+  (0.0ms) begin transaction
578
+  (0.0ms) SAVEPOINT active_record_1
579
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 21' LIMIT 1
580
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 26' LIMIT 1
581
+ SQL (0.4ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
583
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "2af01389-aab1-43e6-9f82-aa6287a58d47"]]
584
+  (0.0ms) RELEASE SAVEPOINT active_record_1
585
+  (0.0ms) SAVEPOINT active_record_1
586
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 22' LIMIT 1
587
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 27' LIMIT 1
588
+ SQL (0.1ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 22"], ["factor", 963.05], ["int_code", "CDE"], ["measure", "ПРОЧИЕ"], ["name", "Единица 27"], ["num", "028"]]
589
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
590
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "478c2f3e-a041-425d-a519-55dd6d573c26"]]
591
+  (0.0ms) RELEASE SAVEPOINT active_record_1
592
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC
593
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC
594
+  (0.1ms) rollback transaction
595
+  (0.0ms) begin transaction
596
+  (0.0ms) commit transaction
597
+  (0.0ms) begin transaction
598
+  (0.0ms) SAVEPOINT active_record_1
599
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 23' LIMIT 1
600
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 28' LIMIT 1
601
+ SQL (0.3ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
603
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "8c158f14-7419-40c7-9cb8-e498b4aacbb2"]]
604
+  (0.0ms) RELEASE SAVEPOINT active_record_1
605
+  (0.0ms) SAVEPOINT active_record_1
606
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 24' LIMIT 1
607
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 29' LIMIT 1
608
+ SQL (0.1ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 24"], ["factor", 941.59], ["int_code", "EFG"], ["measure", "ПРОЧИЕ"], ["name", "Единица 29"], ["num", "030"]]
609
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
610
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "63ee713e-aa11-44bf-8464-84071ce90f98"]]
611
+  (0.0ms) RELEASE SAVEPOINT active_record_1
612
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC
613
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC
614
+  (0.1ms) rollback transaction
615
+  (0.0ms) begin transaction
616
+  (0.0ms) commit transaction
617
+  (0.0ms) begin transaction
618
+  (0.0ms) SAVEPOINT active_record_1
619
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 25' LIMIT 1
620
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 30' LIMIT 1
621
+ SQL (0.3ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
623
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "c04e6093-9e0e-4be7-8e11-31b4faa0d50c"]]
624
+  (0.0ms) RELEASE SAVEPOINT active_record_1
625
+  (0.0ms) SAVEPOINT active_record_1
626
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 26' LIMIT 1
627
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 31' LIMIT 1
628
+ SQL (0.1ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 26"], ["factor", 643.51], ["int_code", "GHI"], ["measure", "ПРОЧИЕ"], ["name", "Единица 31"], ["num", "032"]]
629
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
630
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "52172ad5-36bf-4e1b-b242-db4cf4770b83"]]
631
+  (0.0ms) RELEASE SAVEPOINT active_record_1
632
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."measure" = 'ДЛИНА' ORDER BY "okei_units"."code" ASC
633
+  (0.1ms) rollback transaction
634
+  (0.0ms) begin transaction
635
+  (0.0ms) commit transaction
636
+  (0.0ms) begin transaction
637
+  (0.0ms) SAVEPOINT active_record_1
638
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 27' LIMIT 1
639
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 32' LIMIT 1
640
+ SQL (0.4ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 27"], ["factor", 671.06], ["int_code", "HIJ"], ["measure", "ДЛИНА"], ["name", "Единица 32"], ["num", "033"]]
641
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
642
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "b2787d8c-b56b-4885-bcc6-e8cda600c78b"]]
643
+  (0.0ms) RELEASE SAVEPOINT active_record_1
644
+  (0.0ms) SAVEPOINT active_record_1
645
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 28' LIMIT 1
646
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 33' LIMIT 1
647
+ SQL (0.1ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
649
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "3e45456a-7e3c-448e-8776-4674af685d4f"]]
650
+  (0.0ms) RELEASE SAVEPOINT active_record_1
651
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."measure" = 'ДЛИНА' ORDER BY "okei_units"."code" ASC
652
+  (0.1ms) rollback transaction
653
+  (0.0ms) begin transaction
654
+  (0.0ms) commit transaction
655
+  (0.0ms) begin transaction
656
+  (0.0ms) SAVEPOINT active_record_1
657
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МИЛЬ' LIMIT 1
658
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 34' LIMIT 1
659
+ SQL (0.3ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
661
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "0c9bbca5-b3f8-42c2-97e8-b3bd5556c75c"]]
662
+  (0.0ms) RELEASE SAVEPOINT active_record_1
663
+  (0.0ms) SAVEPOINT active_record_1
664
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МОЛЬ' LIMIT 1
665
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 35' LIMIT 1
666
+ SQL (0.1ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "МОЛЬ"], ["factor", 568.11], ["int_code", "KLM"], ["measure", "ПРОЧИЕ"], ["name", "Единица 35"], ["num", "036"]]
667
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
668
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "c8ff352b-30c5-4df8-a5e8-a7abecfa7eff"]]
669
+  (0.1ms) 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
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC
674
+ Uuids::Uuid Load (0.0ms) 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
+ Uuids::Uuid Load (0.0ms) 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"]]
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
+  (0.2ms) rollback transaction
680
+  (0.0ms) begin transaction
681
+  (0.0ms) commit transaction
682
+  (0.1ms) begin transaction
683
+  (0.0ms) SAVEPOINT active_record_1
684
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МИЛЬ' LIMIT 1
685
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 36' LIMIT 1
686
+ SQL (0.4ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "МИЛЬ"], ["factor", 592.49], ["int_code", "LMN"], ["measure", "ДЛИНА"], ["name", "Единица 36"], ["num", "037"]]
687
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
688
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "5eca23f0-3030-4979-82b1-cac12bdcf49b"]]
689
+  (0.0ms) RELEASE SAVEPOINT active_record_1
690
+  (0.0ms) SAVEPOINT active_record_1
691
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МОЛЬ' LIMIT 1
692
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 37' LIMIT 1
693
+ SQL (0.1ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
695
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "6d116bfc-8e04-43f3-975a-719967226725"]]
696
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC
701
+ Uuids::Uuid Load (0.0ms) 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"]]
702
+ Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.8ms)
703
+ Uuids::Uuid Load (0.0ms) 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
+  (0.2ms) rollback transaction
707
+  (0.0ms) begin transaction
708
+  (0.0ms) commit transaction
709
+  (0.1ms) begin transaction
710
+  (0.0ms) SAVEPOINT active_record_1
711
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МИЛЬ' LIMIT 1
712
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 38' LIMIT 1
713
+ SQL (0.3ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
715
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "535224a4-dadb-4b32-a2a7-cab293b42057"]]
716
+  (0.0ms) RELEASE SAVEPOINT active_record_1
717
+  (0.0ms) SAVEPOINT active_record_1
718
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МОЛЬ' LIMIT 1
719
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 39' LIMIT 1
720
+ SQL (0.1ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "МОЛЬ"], ["factor", 528.17], ["int_code", "OPQ"], ["measure", "ПРОЧИЕ"], ["name", "Единица 39"], ["num", "040"]]
721
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
722
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "532e0f3b-d76f-40a5-8fd8-7e8e79ecfea8"]]
723
+  (0.0ms) 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
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC
728
+ Uuids::Uuid Load (0.0ms) 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
+ Uuids::Uuid Load (0.0ms) 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"]]
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
+  (0.2ms) rollback transaction
734
+  (0.0ms) begin transaction
735
+  (0.0ms) commit transaction
736
+  (0.0ms) begin transaction
737
+  (0.0ms) SAVEPOINT active_record_1
738
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МИЛЬ' LIMIT 1
739
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 40' LIMIT 1
740
+ SQL (0.4ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "МИЛЬ"], ["factor", 700.69], ["int_code", "PQR"], ["measure", "ДЛИНА"], ["name", "Единица 40"], ["num", "041"]]
741
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
742
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "3d875757-dd32-4a54-93bb-86f436d59851"]]
743
+  (0.0ms) RELEASE SAVEPOINT active_record_1
744
+  (0.0ms) SAVEPOINT active_record_1
745
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МОЛЬ' LIMIT 1
746
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 41' LIMIT 1
747
+ SQL (0.1ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
749
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "af270ad7-fc38-4a84-bef4-35af10f81305"]]
750
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."measure" = 'ДЛИНА' ORDER BY "okei_units"."code" ASC
756
+ Uuids::Uuid Load (0.0ms) 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"]]
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
+  (0.2ms) rollback transaction
760
+  (0.0ms) begin transaction
761
+  (0.0ms) commit transaction
762
+  (0.0ms) begin transaction
763
+  (0.0ms) SAVEPOINT active_record_1
764
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МИЛЬ' LIMIT 1
765
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 42' LIMIT 1
766
+ SQL (0.3ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "МИЛЬ"], ["factor", 173.21], ["int_code", "RST"], ["measure", "ДЛИНА"], ["name", "Единица 42"], ["num", "043"]]
767
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
768
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "1b91b554-be25-4fe2-96a3-f666af4fc6d7"]]
769
+  (0.0ms) RELEASE SAVEPOINT active_record_1
770
+  (0.0ms) SAVEPOINT active_record_1
771
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МОЛЬ' LIMIT 1
772
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 43' LIMIT 1
773
+ SQL (0.1ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
775
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "65507e60-a935-4cbe-9aef-fd733d58260c"]]
776
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."measure" = 'ДЛИНА' ORDER BY "okei_units"."code" ASC
782
+ Uuids::Uuid Load (0.1ms) 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"]]
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
+  (0.2ms) rollback transaction
786
+  (0.0ms) begin transaction
787
+  (0.0ms) commit transaction
788
+  (0.0ms) begin transaction
789
+  (0.0ms) SAVEPOINT active_record_1
790
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МИЛЬ' LIMIT 1
791
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 44' LIMIT 1
792
+ SQL (0.3ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "МИЛЬ"], ["factor", 156.3], ["int_code", "TUV"], ["measure", "ДЛИНА"], ["name", "Единица 44"], ["num", "045"]]
793
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
794
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "402fd13f-0400-4b02-83f1-b85a4f4a6bcc"]]
795
+  (0.0ms) RELEASE SAVEPOINT active_record_1
796
+  (0.0ms) SAVEPOINT active_record_1
797
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МОЛЬ' LIMIT 1
798
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 45' LIMIT 1
799
+ SQL (0.1ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
801
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "1b461638-c80a-45e7-8482-825ff6a76ce1"]]
802
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."measure" = 'ДЛИНА' ORDER BY "okei_units"."code" ASC
808
+ Uuids::Uuid Load (0.0ms) 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"]]
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
+  (0.2ms) rollback transaction
812
+  (0.0ms) begin transaction
813
+  (0.0ms) commit transaction
814
+  (0.0ms) begin transaction
815
+  (0.0ms) SAVEPOINT active_record_1
816
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 29' LIMIT 1
817
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 46' LIMIT 1
818
+ SQL (0.3ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 29"], ["factor", 298.3], ["int_code", "VWA"], ["measure", "Длина"], ["name", "Единица 46"], ["num", "047"]]
819
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
820
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "a0c7929f-438a-4eb5-ab0b-d31366a3cc3c"]]
821
+  (0.0ms) 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
+ Okei::Unit Load (0.2ms) 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" = 'a0c7929f-438a-4eb5-ab0b-d31366a3cc3c' ORDER BY "okei_units"."id" ASC LIMIT 1
827
+ Uuids::Uuid Load (0.0ms) 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
+  (0.2ms) rollback transaction
831
+  (0.0ms) begin transaction
832
+  (0.0ms) commit transaction
833
+  (0.0ms) begin transaction
834
+  (0.0ms) SAVEPOINT active_record_1
835
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 30' LIMIT 1
836
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 47' LIMIT 1
837
+ SQL (0.3ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
839
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "50db90c9-a4cb-4b8e-83c3-d03e509976f5"]]
840
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ Okei::Unit Load (0.2ms) 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
+ Uuids::Uuid Load (0.0ms) 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"]]
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
+  (0.1ms) rollback transaction
850
+  (0.0ms) begin transaction
851
+  (0.0ms) commit transaction
852
+  (0.0ms) begin transaction
853
+  (0.0ms) SAVEPOINT active_record_1
854
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 31' LIMIT 1
855
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 48' LIMIT 1
856
+ SQL (0.3ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 31"], ["factor", 692.93], ["int_code", "XAC"], ["measure", "Длина"], ["name", "Единица 48"], ["num", "049"]]
857
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
858
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "0ceffd5e-9028-4d6c-93c3-d5494d95432e"]]
859
+  (0.0ms) 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
+ Okei::Unit Load (0.1ms) 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" = '0ceffd5e-9028-4d6c-93c3-d5494d95432e' ORDER BY "okei_units"."id" ASC LIMIT 1
865
+ Uuids::Uuid Load (0.0ms) 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
+  (0.1ms) rollback transaction
869
+  (0.0ms) begin transaction
870
+  (0.0ms) commit transaction
871
+  (0.0ms) begin transaction
872
+  (0.0ms) SAVEPOINT active_record_1
873
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 32' LIMIT 1
874
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 49' LIMIT 1
875
+ SQL (0.3ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
877
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "d2538d85-5332-4697-bd2b-2c86abe9e0a0"]]
878
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ Okei::Unit Load (0.2ms) 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
+  (0.2ms) rollback transaction
886
+  (0.0ms) begin transaction
887
+  (0.0ms) commit transaction
888
+  (0.0ms) begin transaction
889
+  (0.0ms) SAVEPOINT active_record_1
890
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 33' LIMIT 1
891
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 50' LIMIT 1
892
+ SQL (0.3ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
894
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "8b8e3814-d641-4b00-9fc6-a4b5f8a1758c"]]
895
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ Okei::Unit Load (0.1ms) 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
+  (0.2ms) rollback transaction
903
+  (0.0ms) begin transaction
904
+  (0.0ms) commit transaction
905
+  (0.0ms) begin transaction
906
+  (0.0ms) rollback transaction
907
+  (0.0ms) begin transaction
908
+  (0.0ms) commit transaction
909
+  (0.0ms) begin transaction
910
+  (0.0ms) rollback transaction
911
+  (0.0ms) begin transaction
912
+  (0.0ms) commit transaction
913
+  (0.0ms) begin transaction
914
+  (0.0ms) rollback transaction
915
+  (0.0ms) begin transaction
916
+  (0.0ms) commit transaction
917
+  (0.1ms) begin transaction
918
+  (0.0ms) SAVEPOINT active_record_1
919
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 34' LIMIT 1
920
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 51' LIMIT 1
921
+ SQL (0.4ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
923
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "4db7aa0f-78a2-4bab-a0ca-f6117bbf4e7b"]]
924
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  (0.2ms) rollback transaction
930
+  (0.1ms) begin transaction
931
+  (0.0ms) commit transaction
932
+  (0.0ms) begin transaction
933
+  (0.0ms) SAVEPOINT active_record_1
934
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
935
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 52' LIMIT 1
936
+ SQL (0.3ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 809.13], ["int_code", "CEG"], ["measure", "Длина"], ["name", "Единица 52"], ["num", "053"]]
937
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
938
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "137e685f-12b1-4ecc-8991-d0609ffcb283"]]
939
+  (0.0ms) RELEASE SAVEPOINT active_record_1
940
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1
941
+  (0.1ms) rollback transaction
942
+  (0.0ms) begin transaction
943
+  (0.0ms) commit transaction
944
+  (0.0ms) begin transaction
945
+  (0.0ms) SAVEPOINT active_record_1
946
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
947
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 53' LIMIT 1
948
+ SQL (0.3ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 272.69], ["int_code", "DFH"], ["measure", "Длина"], ["name", "Единица 53"], ["num", "054"]]
949
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
950
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "43d54c3d-ac27-4f38-bd4f-116cccd1e69f"]]
951
+  (0.0ms) RELEASE SAVEPOINT active_record_1
952
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1
953
+  (0.1ms) rollback transaction
954
+  (0.0ms) begin transaction
955
+  (0.0ms) commit transaction
956
+  (0.0ms) begin transaction
957
+  (0.0ms) SAVEPOINT active_record_1
958
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
959
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 54' LIMIT 1
960
+ SQL (0.4ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 266.01], ["int_code", "EGI"], ["measure", "Длина"], ["name", "Единица 54"], ["num", "055"]]
961
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
962
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "7d599dcb-fcf0-40ac-8e30-d089ec2f2396"]]
963
+  (0.0ms) RELEASE SAVEPOINT active_record_1
964
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1
965
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1
966
+  (0.1ms) rollback transaction
967
+  (0.0ms) begin transaction
968
+  (0.0ms) commit transaction
969
+  (0.0ms) begin transaction
970
+  (0.0ms) SAVEPOINT active_record_1
971
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
972
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 55' LIMIT 1
973
+ SQL (0.3ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
975
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "a27653d2-e17d-4fce-8636-477a006d6b9f"]]
976
+  (0.0ms) RELEASE SAVEPOINT active_record_1
977
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'тысяч км в сек' ORDER BY "okei_units"."id" ASC LIMIT 1
978
+  (0.1ms) rollback transaction
979
+  (0.0ms) begin transaction
980
+  (0.0ms) commit transaction
981
+  (0.0ms) begin transaction
982
+  (0.0ms) SAVEPOINT active_record_1
983
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
984
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 56' LIMIT 1
985
+ SQL (0.3ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
987
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "7046bd65-410e-4e8f-97ed-41ac4ba66479"]]
988
+  (0.0ms) RELEASE SAVEPOINT active_record_1
989
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'тысяч км в сек' ORDER BY "okei_units"."id" ASC LIMIT 1
990
+  (0.2ms) rollback transaction
991
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
992
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
993
+  (0.1ms)  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
+ 
1001
+  (0.1ms) 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
+  (0.1ms)  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
+ 
1017
+  (0.1ms) 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
+  (0.1ms)  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
+ 
1033
+  (0.1ms) 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
+  (0.1ms)  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
+ 
1049
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1050
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1051
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1052
+  (0.1ms)  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
+ 
1060
+  (0.1ms) 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
+  (0.1ms)  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
+ 
1076
+  (0.1ms) 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
+  (0.1ms)  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
+ 
1092
+  (0.1ms) 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
+  (0.1ms)  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
+ 
1108
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1109
+  (4.8ms) DELETE FROM "corrector_bases";
1110
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1111
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'corrector_bases';
1112
+  (3.5ms) DELETE FROM "uuids_uuids";
1113
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1114
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uuids_uuids';
1115
+  (3.5ms) DELETE FROM "okei_units";
1116
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1117
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'okei_units';
1118
+  (0.1ms) begin transaction
1119
+  (0.1ms) commit transaction
1120
+  (0.0ms) begin transaction
1121
+  (0.1ms) SAVEPOINT active_record_1
1122
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
1123
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 1' LIMIT 1
1124
+ SQL (0.5ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 821.11], ["int_code", "BBB"], ["measure", "Длина"], ["name", "Единица 1"], ["num", "002"]]
1125
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1126
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "9678ca2a-9e10-4bee-ab44-29de320b5df0"]]
1127
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1128
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'тысяч км в сек' ORDER BY "okei_units"."id" ASC LIMIT 1
1129
+  (0.2ms) rollback transaction
1130
+  (0.6ms) begin transaction
1131
+  (0.7ms) commit transaction
1132
+  (0.5ms) begin transaction
1133
+  (0.0ms) SAVEPOINT active_record_1
1134
+ Okei::Unit Exists (0.2ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
1135
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 2' LIMIT 1
1136
+ SQL (0.3ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 273.32], ["int_code", "CCC"], ["measure", "Длина"], ["name", "Единица 2"], ["num", "003"]]
1137
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1138
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "a255e5da-9d3f-4061-93f7-5661342cd1e4"]]
1139
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1140
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'тысяч км в сек' ORDER BY "okei_units"."id" ASC LIMIT 1
1141
+  (0.1ms) rollback transaction
1142
+  (0.0ms) begin transaction
1143
+  (0.0ms) commit transaction
1144
+  (0.0ms) begin transaction
1145
+  (0.0ms) SAVEPOINT active_record_1
1146
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
1147
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 3' LIMIT 1
1148
+ SQL (0.4ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 654.15], ["int_code", "DDD"], ["measure", "Длина"], ["name", "Единица 3"], ["num", "004"]]
1149
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1150
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "72462688-00b3-41e6-ab33-898ede008c75"]]
1151
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1152
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1
1153
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1
1154
+  (0.1ms) rollback transaction
1155
+  (0.0ms) begin transaction
1156
+  (0.0ms) commit transaction
1157
+  (0.0ms) begin transaction
1158
+  (0.0ms) SAVEPOINT active_record_1
1159
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
1160
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 4' LIMIT 1
1161
+ SQL (0.4ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1163
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "5eb781b2-0b87-4801-90ac-74f307a0f951"]]
1164
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1165
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1
1166
+  (0.1ms) rollback transaction
1167
+  (0.0ms) begin transaction
1168
+  (0.0ms) commit transaction
1169
+  (0.0ms) begin transaction
1170
+  (0.0ms) SAVEPOINT active_record_1
1171
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
1172
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 5' LIMIT 1
1173
+ SQL (0.3ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1175
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "8cacc742-aa71-4eb8-8009-6beb17304d38"]]
1176
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1177
+ Okei::Unit Load (0.2ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1
1178
+  (0.2ms) rollback transaction
1179
+  (0.0ms) begin transaction
1180
+  (0.0ms) commit transaction
1181
+  (0.0ms) begin transaction
1182
+  (0.0ms) SAVEPOINT active_record_1
1183
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 1' LIMIT 1
1184
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 6' LIMIT 1
1185
+ SQL (0.3ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1187
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "dfe940e9-a723-4d7f-ac00-b8263f02a652"]]
1188
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1189
+ Okei::Unit Load (0.2ms) 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
+  (0.2ms) rollback transaction
1191
+  (0.0ms) begin transaction
1192
+  (0.0ms) commit transaction
1193
+  (0.0ms) begin transaction
1194
+  (0.0ms) SAVEPOINT active_record_1
1195
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 2' LIMIT 1
1196
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 7' LIMIT 1
1197
+ SQL (0.3ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1199
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "4686863d-7251-49a8-9b88-6e98313e21fe"]]
1200
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1201
+ Okei::Unit Load (0.1ms) 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
+  (0.1ms) rollback transaction
1203
+  (0.0ms) begin transaction
1204
+  (0.0ms) commit transaction
1205
+  (0.0ms) begin transaction
1206
+  (0.0ms) SAVEPOINT active_record_1
1207
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 3' LIMIT 1
1208
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 8' LIMIT 1
1209
+ SQL (0.3ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1211
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "775c9402-6f54-4926-95b2-4f5bcc2fe12a"]]
1212
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1213
+ Okei::Unit Load (0.1ms) 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
+  (0.1ms) rollback transaction
1215
+  (0.0ms) begin transaction
1216
+  (0.0ms) commit transaction
1217
+  (0.0ms) begin transaction
1218
+  (0.0ms) SAVEPOINT active_record_1
1219
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 4' LIMIT 1
1220
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 9' LIMIT 1
1221
+ SQL (0.3ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1223
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "a4050d02-5db6-4565-be3b-dce8167e0f87"]]
1224
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1225
+ Okei::Unit Load (0.1ms) 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
+  (0.1ms) rollback transaction
1227
+  (0.0ms) begin transaction
1228
+  (0.0ms) commit transaction
1229
+  (0.0ms) begin transaction
1230
+  (0.1ms) rollback transaction
1231
+  (0.0ms) begin transaction
1232
+  (0.0ms) commit transaction
1233
+  (0.0ms) begin transaction
1234
+  (0.0ms) rollback transaction
1235
+  (0.0ms) begin transaction
1236
+  (0.0ms) commit transaction
1237
+  (0.0ms) begin transaction
1238
+  (0.0ms) rollback transaction
1239
+  (0.0ms) begin transaction
1240
+  (0.0ms) commit transaction
1241
+  (0.0ms) begin transaction
1242
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 5' LIMIT 1
1243
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 10' LIMIT 1
1244
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 5' LIMIT 1
1245
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 10' LIMIT 1
1246
+  (0.0ms) rollback transaction
1247
+  (0.0ms) begin transaction
1248
+  (0.0ms) commit transaction
1249
+  (0.0ms) begin transaction
1250
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 6' LIMIT 1
1251
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 11' LIMIT 1
1252
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 6' LIMIT 1
1253
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 11' LIMIT 1
1254
+  (0.0ms) rollback transaction
1255
+  (0.0ms) begin transaction
1256
+  (0.0ms) commit transaction
1257
+  (0.0ms) begin transaction
1258
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 7' LIMIT 1
1259
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 12' LIMIT 1
1260
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 12' LIMIT 1
1261
+  (0.0ms) rollback transaction
1262
+  (0.0ms) begin transaction
1263
+  (0.0ms) commit transaction
1264
+  (0.0ms) begin transaction
1265
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 8' LIMIT 1
1266
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 13' LIMIT 1
1267
+  (0.0ms) SAVEPOINT active_record_1
1268
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 9' LIMIT 1
1269
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 14' LIMIT 1
1270
+ SQL (0.4ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 9"], ["factor", 89.96], ["int_code", "NNN"], ["measure", "Длина"], ["name", "Единица 14"], ["num", "015"]]
1271
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1272
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "227a895e-c8c8-49cf-9b18-d24871df7fee"]]
1273
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1274
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 8' LIMIT 1
1275
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 13' LIMIT 1
1276
+  (0.1ms) rollback transaction
1277
+  (0.0ms) begin transaction
1278
+  (0.0ms) commit transaction
1279
+  (0.0ms) begin transaction
1280
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 10' LIMIT 1
1281
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 15' LIMIT 1
1282
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 10' LIMIT 1
1283
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 15' LIMIT 1
1284
+  (0.0ms) rollback transaction
1285
+  (0.0ms) begin transaction
1286
+  (0.0ms) commit transaction
1287
+  (0.0ms) begin transaction
1288
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 11' LIMIT 1
1289
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 16' LIMIT 1
1290
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 11' LIMIT 1
1291
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 16' LIMIT 1
1292
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 11' LIMIT 1
1293
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 16' LIMIT 1
1294
+  (0.0ms) rollback transaction
1295
+  (0.0ms) begin transaction
1296
+  (0.0ms) commit transaction
1297
+  (0.0ms) begin transaction
1298
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 12' LIMIT 1
1299
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 17' LIMIT 1
1300
+  (0.0ms) SAVEPOINT active_record_1
1301
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 12' LIMIT 1
1302
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 18' LIMIT 1
1303
+ SQL (0.4ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1305
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "823cb6cc-f3a2-4746-97f6-caf355da2c6d"]]
1306
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1307
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 12' LIMIT 1
1308
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 17' LIMIT 1
1309
+  (0.2ms) rollback transaction
1310
+  (0.0ms) begin transaction
1311
+  (0.0ms) commit transaction
1312
+  (0.0ms) begin transaction
1313
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 13' LIMIT 1
1314
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 19' LIMIT 1
1315
+  (0.0ms) SAVEPOINT active_record_1
1316
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 14' LIMIT 1
1317
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 19' LIMIT 1
1318
+ SQL (0.3ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 14"], ["factor", 931.49], ["int_code", "TTT"], ["measure", "Длина"], ["name", "Единица 19"], ["num", "021"]]
1319
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1320
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "c9dd6b9c-d68d-4c0b-b13a-35f932bdb6b4"]]
1321
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1322
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 13' LIMIT 1
1323
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 19' LIMIT 1
1324
+  (0.1ms) rollback transaction
1325
+  (0.0ms) begin transaction
1326
+  (0.0ms) commit transaction
1327
+  (0.0ms) begin transaction
1328
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 15' LIMIT 1
1329
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 20' LIMIT 1
1330
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 15' LIMIT 1
1331
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 20' LIMIT 1
1332
+  (0.0ms) rollback transaction
1333
+  (0.0ms) begin transaction
1334
+  (0.0ms) commit transaction
1335
+  (0.0ms) begin transaction
1336
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 16' LIMIT 1
1337
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 21' LIMIT 1
1338
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 16' LIMIT 1
1339
+  (0.0ms) rollback transaction
1340
+  (0.0ms) begin transaction
1341
+  (0.0ms) commit transaction
1342
+  (0.0ms) begin transaction
1343
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 17' LIMIT 1
1344
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 22' LIMIT 1
1345
+  (0.0ms) SAVEPOINT active_record_1
1346
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 18' LIMIT 1
1347
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 23' LIMIT 1
1348
+ SQL (0.4ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 18"], ["factor", 530.65], ["int_code", "XXA"], ["measure", "Длина"], ["name", "Единица 23"], ["num", "024"]]
1349
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1350
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "c43dfdf3-0161-46f3-9207-ca219b0244b8"]]
1351
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1352
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 17' LIMIT 1
1353
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 22' LIMIT 1
1354
+  (0.1ms) rollback transaction
1355
+  (0.0ms) begin transaction
1356
+  (0.0ms) commit transaction
1357
+  (0.0ms) begin transaction
1358
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 19' LIMIT 1
1359
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 24' LIMIT 1
1360
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 19' LIMIT 1
1361
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 24' LIMIT 1
1362
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 19' LIMIT 1
1363
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 24' LIMIT 1
1364
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 19' LIMIT 1
1365
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 24' LIMIT 1
1366
+  (0.0ms) rollback transaction
1367
+  (0.0ms) begin transaction
1368
+  (0.0ms) commit transaction
1369
+  (0.0ms) begin transaction
1370
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 20' LIMIT 1
1371
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 25' LIMIT 1
1372
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 20' LIMIT 1
1373
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 25' LIMIT 1
1374
+  (0.0ms) rollback transaction
1375
+  (0.1ms) begin transaction
1376
+  (0.0ms) commit transaction
1377
+  (0.0ms) begin transaction
1378
+  (0.0ms) rollback transaction
1379
+  (0.0ms) begin transaction
1380
+  (0.0ms) commit transaction
1381
+  (0.0ms) begin transaction
1382
+  (0.0ms) rollback transaction
1383
+  (0.0ms) begin transaction
1384
+  (0.0ms) commit transaction
1385
+  (0.0ms) begin transaction
1386
+  (0.0ms) rollback transaction
1387
+  (0.0ms) begin transaction
1388
+  (0.0ms) commit transaction
1389
+  (0.0ms) begin transaction
1390
+  (0.0ms) rollback transaction
1391
+  (0.0ms) begin transaction
1392
+  (0.0ms) commit transaction
1393
+  (0.0ms) begin transaction
1394
+  (0.0ms) rollback transaction
1395
+  (0.0ms) begin transaction
1396
+  (0.1ms) commit transaction
1397
+  (0.0ms) begin transaction
1398
+  (0.0ms) SAVEPOINT active_record_1
1399
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 21' LIMIT 1
1400
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 26' LIMIT 1
1401
+ SQL (0.4ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1403
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "62386d89-4d8f-4e05-b135-71a61bd44453"]]
1404
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1405
+  (0.0ms) SAVEPOINT active_record_1
1406
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 22' LIMIT 1
1407
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 27' LIMIT 1
1408
+ SQL (0.1ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 22"], ["factor", 802.11], ["int_code", "CDE"], ["measure", "ПРОЧИЕ"], ["name", "Единица 27"], ["num", "028"]]
1409
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
1410
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "9490da06-3cf3-4bea-a440-197c53ae84b7"]]
1411
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1412
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."measure" = 'ДЛИНА' ORDER BY "okei_units"."code" ASC
1413
+  (0.1ms) rollback transaction
1414
+  (0.0ms) begin transaction
1415
+  (0.1ms) commit transaction
1416
+  (0.0ms) begin transaction
1417
+  (0.0ms) SAVEPOINT active_record_1
1418
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 23' LIMIT 1
1419
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 28' LIMIT 1
1420
+ SQL (0.3ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 23"], ["factor", 41.0], ["int_code", "DEF"], ["measure", "ДЛИНА"], ["name", "Единица 28"], ["num", "029"]]
1421
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1422
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "2909afa2-ac29-4dce-9b66-339ac903f345"]]
1423
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1424
+  (0.0ms) SAVEPOINT active_record_1
1425
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 24' LIMIT 1
1426
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 29' LIMIT 1
1427
+ SQL (0.1ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
1429
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "ef3fc73a-07e8-453d-a28f-4a494b4185b8"]]
1430
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1431
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."measure" = 'ДЛИНА' ORDER BY "okei_units"."code" ASC
1432
+  (0.1ms) rollback transaction
1433
+  (0.0ms) begin transaction
1434
+  (0.0ms) commit transaction
1435
+  (0.0ms) begin transaction
1436
+  (0.0ms) SAVEPOINT active_record_1
1437
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 25' LIMIT 1
1438
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 30' LIMIT 1
1439
+ SQL (0.3ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1441
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "2ab5d860-606a-43c9-a23c-b78f4a63f9cf"]]
1442
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1443
+  (0.0ms) SAVEPOINT active_record_1
1444
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 26' LIMIT 1
1445
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 31' LIMIT 1
1446
+ SQL (0.1ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 26"], ["factor", 29.6], ["int_code", "GHI"], ["measure", "ПРОЧИЕ"], ["name", "Единица 31"], ["num", "032"]]
1447
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
1448
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "80f65465-7302-40ef-af18-7d3d7db7d004"]]
1449
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1450
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC
1451
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC
1452
+  (0.2ms) rollback transaction
1453
+  (0.0ms) begin transaction
1454
+  (0.0ms) commit transaction
1455
+  (0.0ms) begin transaction
1456
+  (0.0ms) SAVEPOINT active_record_1
1457
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 27' LIMIT 1
1458
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 32' LIMIT 1
1459
+ SQL (0.3ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1461
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "6396f2bd-af23-4f92-8a65-ca152ebb97e4"]]
1462
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1463
+  (0.0ms) SAVEPOINT active_record_1
1464
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 28' LIMIT 1
1465
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 33' LIMIT 1
1466
+ SQL (0.1ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 28"], ["factor", 66.74], ["int_code", "IJK"], ["measure", "ПРОЧИЕ"], ["name", "Единица 33"], ["num", "034"]]
1467
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
1468
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "dda3af2f-e810-41c8-8ecd-078a50659c2f"]]
1469
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1470
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC
1471
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC
1472
+  (0.1ms) rollback transaction
1473
+  (0.0ms) begin transaction
1474
+  (0.0ms) commit transaction
1475
+  (0.0ms) begin transaction
1476
+  (0.0ms) SAVEPOINT active_record_1
1477
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
1478
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 34' LIMIT 1
1479
+ SQL (0.3ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1481
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "6624be29-8748-4f7d-8e9f-e32e26fa3d4e"]]
1482
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ Okei::Unit Load (0.1ms) 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
+  (0.2ms) rollback transaction
1491
+  (0.0ms) begin transaction
1492
+  (0.0ms) commit transaction
1493
+  (0.0ms) begin transaction
1494
+  (0.0ms) SAVEPOINT active_record_1
1495
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
1496
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 35' LIMIT 1
1497
+ SQL (0.3ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1499
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "1270b038-22ab-415d-8354-6b521d51ac65"]]
1500
+  (0.1ms) RELEASE SAVEPOINT active_record_1
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
+ Okei::Unit Load (0.1ms) 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
+  (0.2ms) rollback transaction
1508
+  (0.0ms) begin transaction
1509
+  (0.0ms) commit transaction
1510
+  (0.0ms) begin transaction
1511
+  (0.0ms) SAVEPOINT active_record_1
1512
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
1513
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 36' LIMIT 1
1514
+ SQL (0.3ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1516
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "2dfb4b07-641d-40fe-ba6f-dde011c94609"]]
1517
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1
1523
+ Uuids::Uuid Load (0.1ms) 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"]]
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
+  (0.2ms) rollback transaction
1527
+  (0.0ms) begin transaction
1528
+  (0.0ms) commit transaction
1529
+  (0.0ms) begin transaction
1530
+  (0.0ms) SAVEPOINT active_record_1
1531
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
1532
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 37' LIMIT 1
1533
+ SQL (0.4ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 45.06], ["int_code", "MNO"], ["measure", "Длина"], ["name", "Единица 37"], ["num", "038"]]
1534
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1535
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "1a3396c8-c8df-4552-8261-c170bd55ef45"]]
1536
+  (0.0ms) 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
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1
1542
+ Uuids::Uuid Load (0.0ms) 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
+  (0.2ms) rollback transaction
1546
+  (0.0ms) begin transaction
1547
+  (0.0ms) commit transaction
1548
+  (0.0ms) begin transaction
1549
+  (0.0ms) SAVEPOINT active_record_1
1550
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
1551
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 38' LIMIT 1
1552
+ SQL (0.3ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1554
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "dae19e5e-a2ce-42b3-ae06-b5a7070c9e24"]]
1555
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1
1561
+ Uuids::Uuid Load (0.0ms) 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"]]
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
+  (0.2ms) rollback transaction
1565
+  (0.0ms) begin transaction
1566
+  (0.0ms) commit transaction
1567
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction
1573
+  (0.0ms) begin transaction
1574
+  (0.0ms) commit transaction
1575
+  (0.0ms) begin transaction
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
+  (0.0ms) rollback transaction
1581
+  (0.0ms) begin transaction
1582
+  (0.0ms) commit transaction
1583
+  (0.0ms) begin transaction
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
+  (0.0ms) rollback transaction
1589
+  (0.0ms) begin transaction
1590
+  (0.0ms) commit transaction
1591
+  (0.0ms) begin transaction
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
+  (0.0ms) rollback transaction
1597
+  (0.0ms) begin transaction
1598
+  (0.0ms) commit transaction
1599
+  (0.0ms) begin transaction
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
+  (0.0ms) rollback transaction
1605
+  (0.0ms) begin transaction
1606
+  (0.0ms) commit transaction
1607
+  (0.0ms) begin transaction
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
+  (0.0ms) rollback transaction
1613
+  (0.0ms) begin transaction
1614
+  (0.0ms) commit transaction
1615
+  (0.0ms) begin transaction
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
+  (0.0ms) rollback transaction
1621
+  (0.0ms) begin transaction
1622
+  (0.0ms) commit transaction
1623
+  (0.0ms) begin transaction
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
+  (0.0ms) rollback transaction
1629
+  (0.0ms) begin transaction
1630
+  (0.0ms) commit transaction
1631
+  (0.0ms) begin transaction
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
+  (0.0ms) rollback transaction
1637
+  (0.1ms) begin transaction
1638
+  (0.0ms) commit transaction
1639
+  (0.0ms) begin transaction
1640
+  (0.0ms) SAVEPOINT active_record_1
1641
+ Okei::Unit Exists (0.2ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 29' LIMIT 1
1642
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 39' LIMIT 1
1643
+ SQL (0.4ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 29"], ["factor", 35.22], ["int_code", "OPQ"], ["measure", "Длина"], ["name", "Единица 39"], ["num", "040"]]
1644
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1645
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "c7fc7385-4dca-4975-90f8-585e2f373fd8"]]
1646
+  (0.0ms) 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
+  (0.2ms) rollback transaction
1652
+  (0.0ms) begin transaction
1653
+  (0.0ms) commit transaction
1654
+  (0.0ms) begin transaction
1655
+ Processing by Okei::Api::V1::ResponderController#index as JSON
1656
+ Completed 500 Internal Server Error in 3ms
1657
+  (0.1ms) rollback transaction
1658
+  (0.0ms) begin transaction
1659
+  (0.0ms) commit transaction
1660
+  (0.0ms) begin transaction
1661
+ Processing by Okei::Api::V1::ResponderController#index as JSON
1662
+ Completed 500 Internal Server Error in 1ms
1663
+  (0.1ms) rollback transaction
1664
+  (0.1ms) begin transaction
1665
+  (0.0ms) commit transaction
1666
+  (0.0ms) begin transaction
1667
+ Processing by Okei::Api::V1::ResponderController#index as JSON
1668
+ Completed 500 Internal Server Error in 1ms
1669
+  (0.0ms) rollback transaction
1670
+  (0.0ms) begin transaction
1671
+  (0.0ms) commit transaction
1672
+  (0.0ms) begin transaction
1673
+ Processing by Okei::Api::V1::ResponderController#index as JSON
1674
+ Completed 500 Internal Server Error in 1ms
1675
+  (0.0ms) rollback transaction
1676
+  (0.0ms) begin transaction
1677
+  (0.0ms) commit transaction
1678
+  (0.0ms) begin transaction
1679
+ Processing by Okei::Api::V1::ResponderController#index as JSON
1680
+ Completed 500 Internal Server Error in 1ms
1681
+  (0.0ms) rollback transaction
1682
+  (0.0ms) begin transaction
1683
+  (0.0ms) commit transaction
1684
+  (0.0ms) begin transaction
1685
+ Processing by Okei::Api::V1::ResponderController#index as JSON
1686
+ Completed 500 Internal Server Error in 1ms
1687
+  (0.0ms) rollback transaction
1688
+  (0.0ms) begin transaction
1689
+  (0.0ms) commit transaction
1690
+  (0.0ms) begin transaction
1691
+ Processing by Okei::Api::V1::ResponderController#index as JSON
1692
+ Completed 500 Internal Server Error in 1ms
1693
+  (0.0ms) rollback transaction
1694
+  (0.0ms) begin transaction
1695
+  (0.0ms) commit transaction
1696
+  (0.0ms) begin transaction
1697
+ Processing by Okei::Api::V1::ResponderController#index as JSON
1698
+ Completed 500 Internal Server Error in 1ms
1699
+  (0.0ms) rollback transaction
1700
+  (0.0ms) begin transaction
1701
+  (0.0ms) commit transaction
1702
+  (0.0ms) begin transaction
1703
+ Processing by Okei::Api::V1::ResponderController#index as JSON
1704
+ Completed 500 Internal Server Error in 1ms
1705
+  (0.0ms) rollback transaction
1706
+  (0.0ms) begin transaction
1707
+  (0.0ms) commit transaction
1708
+  (0.0ms) begin transaction
1709
+  (0.0ms) rollback transaction
1710
+  (0.0ms) begin transaction
1711
+  (0.0ms) commit transaction
1712
+  (0.0ms) begin transaction
1713
+  (0.0ms) rollback transaction
1714
+  (0.0ms) begin transaction
1715
+  (0.0ms) commit transaction
1716
+  (0.0ms) begin transaction
1717
+  (0.0ms) rollback transaction
1718
+  (0.0ms) begin transaction
1719
+  (0.0ms) commit transaction
1720
+  (0.0ms) begin transaction
1721
+  (0.0ms) SAVEPOINT active_record_1
1722
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МИЛЬ' LIMIT 1
1723
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 40' LIMIT 1
1724
+ SQL (0.4ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1726
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "ebd3ea63-871c-4dc4-a57f-7260cbaebd5f"]]
1727
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1728
+  (0.0ms) SAVEPOINT active_record_1
1729
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МОЛЬ' LIMIT 1
1730
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 41' LIMIT 1
1731
+ SQL (0.1ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "МОЛЬ"], ["factor", 484.8], ["int_code", "QRS"], ["measure", "ПРОЧИЕ"], ["name", "Единица 41"], ["num", "042"]]
1732
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
1733
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "6fa74e79-bf4d-47e0-8a90-68c0c71f7215"]]
1734
+  (0.0ms) 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
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."measure" = 'ДЛИНА' ORDER BY "okei_units"."code" ASC
1740
+ Uuids::Uuid Load (0.0ms) 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
+  (0.2ms) rollback transaction
1744
+  (0.0ms) begin transaction
1745
+  (0.0ms) commit transaction
1746
+  (0.0ms) begin transaction
1747
+  (0.0ms) SAVEPOINT active_record_1
1748
+ Okei::Unit Exists (0.2ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МИЛЬ' LIMIT 1
1749
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 42' LIMIT 1
1750
+ SQL (0.4ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1752
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "76d8188a-cb97-40d3-8211-d83050ec5119"]]
1753
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1754
+  (0.0ms) SAVEPOINT active_record_1
1755
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МОЛЬ' LIMIT 1
1756
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 43' LIMIT 1
1757
+ SQL (0.1ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "МОЛЬ"], ["factor", 98.02], ["int_code", "STU"], ["measure", "ПРОЧИЕ"], ["name", "Единица 43"], ["num", "044"]]
1758
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
1759
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "7db16841-f3cb-44a6-a7ac-f7546e393576"]]
1760
+  (0.0ms) 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
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."measure" = 'ДЛИНА' ORDER BY "okei_units"."code" ASC
1766
+ Uuids::Uuid Load (0.0ms) 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
+  (0.2ms) rollback transaction
1770
+  (0.0ms) begin transaction
1771
+  (0.0ms) commit transaction
1772
+  (0.0ms) begin transaction
1773
+  (0.0ms) SAVEPOINT active_record_1
1774
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МИЛЬ' LIMIT 1
1775
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 44' LIMIT 1
1776
+ SQL (0.4ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1778
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "4274ad59-f9a6-42b6-9341-0ba505b45953"]]
1779
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1780
+  (0.0ms) SAVEPOINT active_record_1
1781
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МОЛЬ' LIMIT 1
1782
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 45' LIMIT 1
1783
+ SQL (0.1ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "МОЛЬ"], ["factor", 819.53], ["int_code", "UVW"], ["measure", "ПРОЧИЕ"], ["name", "Единица 45"], ["num", "046"]]
1784
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
1785
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "3915783e-538e-4d50-99ba-7952066b248e"]]
1786
+  (0.0ms) 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
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."measure" = 'ДЛИНА' ORDER BY "okei_units"."code" ASC
1792
+ Uuids::Uuid Load (0.0ms) 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
+  (0.2ms) rollback transaction
1796
+  (0.0ms) begin transaction
1797
+  (0.0ms) commit transaction
1798
+  (0.0ms) begin transaction
1799
+  (0.0ms) SAVEPOINT active_record_1
1800
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МИЛЬ' LIMIT 1
1801
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 46' LIMIT 1
1802
+ SQL (0.4ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1804
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "13b5dfc1-c18a-4f7b-84f4-75216b92fe0b"]]
1805
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1806
+  (0.0ms) SAVEPOINT active_record_1
1807
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МОЛЬ' LIMIT 1
1808
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 47' LIMIT 1
1809
+ SQL (0.1ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "МОЛЬ"], ["factor", 389.26], ["int_code", "WXB"], ["measure", "ПРОЧИЕ"], ["name", "Единица 47"], ["num", "048"]]
1810
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
1811
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "0db79c3b-ba3e-418c-b6ce-5638b66694ac"]]
1812
+  (0.0ms) 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
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC
1817
+ Uuids::Uuid Load (0.1ms) 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
+ Uuids::Uuid Load (0.0ms) 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"]]
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
+  (0.2ms) rollback transaction
1823
+  (0.0ms) begin transaction
1824
+  (0.0ms) commit transaction
1825
+  (0.1ms) begin transaction
1826
+  (0.0ms) SAVEPOINT active_record_1
1827
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МИЛЬ' LIMIT 1
1828
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 48' LIMIT 1
1829
+ SQL (0.3ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "МИЛЬ"], ["factor", 568.39], ["int_code", "XAC"], ["measure", "ДЛИНА"], ["name", "Единица 48"], ["num", "049"]]
1830
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1831
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "d918f8a2-6b3b-4c2b-8920-0fd6a028889b"]]
1832
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1833
+  (0.0ms) SAVEPOINT active_record_1
1834
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МОЛЬ' LIMIT 1
1835
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 49' LIMIT 1
1836
+ SQL (0.1ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
1838
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "57688161-4344-464b-b295-9077f6032280"]]
1839
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC
1844
+ Uuids::Uuid Load (0.0ms) 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"]]
1845
+ Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.8ms)
1846
+ Uuids::Uuid Load (0.0ms) 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
+  (0.2ms) rollback transaction
1850
+  (0.0ms) begin transaction
1851
+  (0.0ms) commit transaction
1852
+  (0.0ms) begin transaction
1853
+  (0.0ms) SAVEPOINT active_record_1
1854
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МИЛЬ' LIMIT 1
1855
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 50' LIMIT 1
1856
+ SQL (0.4ms) 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
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1858
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "03ee81c1-f6f0-45dc-a2cb-83ffbec477a4"]]
1859
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1860
+  (0.0ms) SAVEPOINT active_record_1
1861
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МОЛЬ' LIMIT 1
1862
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 51' LIMIT 1
1863
+ SQL (0.1ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "МОЛЬ"], ["factor", 214.61], ["int_code", "BDF"], ["measure", "ПРОЧИЕ"], ["name", "Единица 51"], ["num", "052"]]
1864
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
1865
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "1dfe7cf4-44ac-46c4-a360-8097f88f182d"]]
1866
+  (0.0ms) 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
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC
1871
+ Uuids::Uuid Load (0.0ms) 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
+ Uuids::Uuid Load (0.0ms) 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"]]
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
+  (0.2ms) rollback transaction
1877
+  (0.0ms) begin transaction
1878
+  (0.0ms) commit transaction
1879
+  (0.0ms) begin transaction
1880
+  (0.0ms) SAVEPOINT active_record_1
1881
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 30' LIMIT 1
1882
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 52' LIMIT 1
1883
+ SQL (0.3ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 30"], ["factor", 931.3], ["int_code", "CEG"], ["measure", "Длина"], ["name", "Единица 52"], ["num", "053"]]
1884
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1885
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "6dee4c74-b8be-4dbb-b556-f843b8e9f923"]]
1886
+  (0.0ms) 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
+ Okei::Unit Load (0.2ms) 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
1892
+ Completed 404 Not Found in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms)
1893
+  (0.2ms) rollback transaction
1894
+  (0.0ms) begin transaction
1895
+  (0.0ms) commit transaction
1896
+  (0.0ms) begin transaction
1897
+  (0.0ms) SAVEPOINT active_record_1
1898
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 31' LIMIT 1
1899
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 53' LIMIT 1
1900
+ SQL (0.4ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 31"], ["factor", 993.87], ["int_code", "DFH"], ["measure", "Длина"], ["name", "Единица 53"], ["num", "054"]]
1901
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1902
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "ea2ef439-faa5-4da7-bb78-f710ebeb95a3"]]
1903
+  (0.0ms) 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
+ Okei::Unit Load (0.1ms) 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
1909
+ Completed 404 Not Found in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms)
1910
+  (0.2ms) rollback transaction
1911
+  (0.0ms) begin transaction
1912
+  (0.0ms) commit transaction
1913
+  (0.0ms) begin transaction
1914
+  (0.0ms) SAVEPOINT active_record_1
1915
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 32' LIMIT 1
1916
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 54' LIMIT 1
1917
+ SQL (0.3ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 32"], ["factor", 850.43], ["int_code", "EGI"], ["measure", "Длина"], ["name", "Единица 54"], ["num", "055"]]
1918
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1919
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "08764958-d635-4b3b-a8e4-283c2bc5d17b"]]
1920
+  (0.0ms) 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
+ Okei::Unit Load (0.2ms) 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" = '08764958-d635-4b3b-a8e4-283c2bc5d17b' ORDER BY "okei_units"."id" ASC LIMIT 1
1926
+ Uuids::Uuid Load (0.0ms) 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
+  (0.1ms) rollback transaction
1930
+  (0.0ms) begin transaction
1931
+  (0.0ms) commit transaction
1932
+  (0.0ms) begin transaction
1933
+  (0.0ms) SAVEPOINT active_record_1
1934
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 33' LIMIT 1
1935
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 55' LIMIT 1
1936
+ SQL (0.4ms) 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
+ Okei::Unit Load (0.1ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1938
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "9d8bb92e-eb47-4136-aea4-7cec02d54822"]]
1939
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ Okei::Unit Load (0.2ms) 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
+ Uuids::Uuid Load (0.0ms) 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"]]
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
+  (0.2ms) rollback transaction
1949
+  (0.0ms) begin transaction
1950
+  (0.0ms) commit transaction
1951
+  (0.0ms) begin transaction
1952
+  (0.0ms) SAVEPOINT active_record_1
1953
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 34' LIMIT 1
1954
+ Okei::Unit Exists (0.1ms) SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 56' LIMIT 1
1955
+ SQL (0.4ms) INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 34"], ["factor", 403.05], ["int_code", "GIK"], ["measure", "Длина"], ["name", "Единица 56"], ["num", "057"]]
1956
+ Okei::Unit Load (0.0ms) SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
1957
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "d2491650-5377-4403-a420-a73058e9ebaf"]]
1958
+  (0.0ms) 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
+ Okei::Unit Load (0.2ms) 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" = 'd2491650-5377-4403-a420-a73058e9ebaf' ORDER BY "okei_units"."id" ASC LIMIT 1
1964
+ Uuids::Uuid Load (0.0ms) 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
+  (0.2ms) rollback transaction
1968
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1969
+  (4.5ms) DELETE FROM "corrector_bases";
1970
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1971
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'corrector_bases';
1972
+  (3.3ms) DELETE FROM "uuids_uuids";
1973
+  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1974
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'uuids_uuids';
1975
+  (3.2ms) DELETE FROM "okei_units";
1976
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1977
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'okei_units';
1978
+  (0.1ms) begin transaction
1979
+  (0.1ms) commit transaction
1980
+  (0.0ms) begin transaction
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
+  (0.1ms) rollback transaction
1985
+  (0.0ms) begin transaction
1986
+  (0.0ms) commit transaction
1987
+  (0.0ms) begin transaction
1988
+ Processing by Okei::Api::V1::ResponderController#index as JSON
1989
+ Completed 404 Not Found in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
1990
+  (0.1ms) rollback transaction
1991
+  (0.0ms) begin transaction
1992
+  (0.0ms) commit transaction
1993
+  (0.1ms) begin transaction
1994
+ Processing by Okei::Api::V1::ResponderController#index as JSON
1995
+ Completed 404 Not Found in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
1996
+  (0.0ms) rollback transaction
1997
+  (0.0ms) begin transaction
1998
+  (0.0ms) commit transaction
1999
+  (0.0ms) begin transaction
2000
+ Processing by Okei::Api::V1::ResponderController#index as JSON
2001
+ Completed 500 Internal Server Error in 3ms
2002
+  (0.1ms) rollback transaction
2003
+  (0.0ms) begin transaction
2004
+  (0.1ms) commit transaction
2005
+  (0.0ms) begin transaction
2006
+ Processing by Okei::Api::V1::ResponderController#index as JSON
2007
+ Completed 500 Internal Server Error in 1ms
2008
+  (0.0ms) rollback transaction
2009
+  (0.0ms) begin transaction
2010
+  (0.0ms) commit transaction
2011
+  (0.0ms) begin transaction
2012
+ Processing by Okei::Api::V1::ResponderController#index as JSON
2013
+ Completed 500 Internal Server Error in 1ms
2014
+  (0.0ms) rollback transaction
2015
+  (0.0ms) begin transaction
2016
+  (0.0ms) commit transaction
2017
+  (0.0ms) begin transaction
2018
+ Processing by Okei::Api::V1::ResponderController#index as JSON
2019
+ Completed 500 Internal Server Error in 2ms
2020
+  (0.0ms) rollback transaction
2021
+  (0.0ms) begin transaction
2022
+  (0.0ms) commit transaction
2023
+  (0.0ms) begin transaction
2024
+ Processing by Okei::Api::V1::ResponderController#index as JSON
2025
+ Completed 500 Internal Server Error in 1ms
2026
+  (0.1ms) rollback transaction
2027
+  (0.0ms) begin transaction
2028
+  (0.0ms) commit transaction
2029
+  (0.0ms) begin transaction
2030
+ Processing by Okei::Api::V1::ResponderController#index as JSON
2031
+ Completed 500 Internal Server Error in 1ms
2032
+  (0.0ms) rollback transaction
2033
+  (0.0ms) begin transaction
2034
+  (0.1ms) commit transaction
2035
+  (0.0ms) begin transaction
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
+  (0.1ms) rollback transaction
2041
+  (0.0ms) begin transaction
2042
+  (0.0ms) commit transaction
2043
+  (0.0ms) begin transaction
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
+  (0.0ms) rollback transaction
2049
+  (0.0ms) begin transaction
2050
+  (0.0ms) commit transaction
2051
+  (0.0ms) begin transaction
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
+  (0.0ms) rollback transaction
2057
+  (0.0ms) begin transaction
2058
+  (0.1ms) commit transaction
2059
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction
2065
+  (0.0ms) begin transaction
2066
+  (0.0ms) commit transaction
2067
+  (0.0ms) begin transaction
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
+  (0.0ms) rollback transaction
2073
+  (0.0ms) begin transaction
2074
+  (0.0ms) commit transaction
2075
+  (0.0ms) begin transaction
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
+  (0.0ms) rollback transaction
2081
+  (0.0ms) begin transaction
2082
+  (0.0ms) commit transaction
2083
+  (0.0ms) begin transaction
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
+  (0.0ms) rollback transaction
2089
+  (0.0ms) begin transaction
2090
+  (0.0ms) commit transaction
2091
+  (0.0ms) begin transaction
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
+  (0.0ms) rollback transaction
2097
+  (0.0ms) begin transaction
2098
+  (0.1ms) commit transaction
2099
+  (0.1ms) begin transaction
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
+  (0.0ms) rollback transaction
2105
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2106
+  (5.5ms) DELETE FROM "corrector_bases";
2107
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2108
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'corrector_bases';
2109
+  (3.0ms) DELETE FROM "uuids_uuids";
2110
+  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2111
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uuids_uuids';
2112
+  (2.8ms) DELETE FROM "okei_units";
2113
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2114
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'okei_units';
2115
+  (0.1ms) begin transaction
2116
+  (0.0ms) commit transaction
2117
+  (0.0ms) begin transaction
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
+  (0.1ms) rollback transaction
2122
+  (0.0ms) begin transaction
2123
+  (0.0ms) commit transaction
2124
+  (0.0ms) begin transaction
2125
+ Processing by Okei::Api::V1::ResponderController#index as JSON
2126
+ Completed 404 Not Found in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
2127
+  (0.1ms) rollback transaction
2128
+  (0.0ms) begin transaction
2129
+  (0.0ms) commit transaction
2130
+  (0.0ms) begin transaction
2131
+ Processing by Okei::Api::V1::ResponderController#index as JSON
2132
+ Completed 404 Not Found in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
2133
+  (0.0ms) rollback transaction
2134
+  (0.0ms) begin transaction
2135
+  (0.0ms) commit transaction
2136
+  (0.0ms) begin transaction
2137
+ Processing by Okei::Api::V1::ResponderController#index as JSON
2138
+ Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
2139
+  (0.0ms) rollback transaction
2140
+  (0.0ms) begin transaction
2141
+  (0.0ms) commit transaction
2142
+  (0.0ms) begin transaction
2143
+ Processing by Okei::Api::V1::ResponderController#index as JSON
2144
+ Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
2145
+  (0.1ms) rollback transaction
2146
+  (0.0ms) begin transaction
2147
+  (0.0ms) commit transaction
2148
+  (0.0ms) begin transaction
2149
+ Processing by Okei::Api::V1::ResponderController#index as JSON
2150
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
2151
+  (0.0ms) rollback transaction
2152
+  (0.0ms) begin transaction
2153
+  (0.0ms) commit transaction
2154
+  (0.0ms) begin transaction
2155
+ Processing by Okei::Api::V1::ResponderController#index as JSON
2156
+ Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)
2157
+  (0.1ms) rollback transaction
2158
+  (0.0ms) begin transaction
2159
+  (0.0ms) commit transaction
2160
+  (0.0ms) begin transaction
2161
+ Processing by Okei::Api::V1::ResponderController#index as JSON
2162
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
2163
+  (0.1ms) rollback transaction
2164
+  (0.1ms) begin transaction
2165
+  (0.0ms) commit transaction
2166
+  (0.0ms) begin transaction
2167
+ Processing by Okei::Api::V1::ResponderController#index as JSON
2168
+ Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
2169
+  (0.1ms) rollback transaction
2170
+  (0.0ms) begin transaction
2171
+  (0.0ms) commit transaction
2172
+  (0.0ms) begin transaction
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
+  (0.1ms) rollback transaction
2178
+  (0.0ms) begin transaction
2179
+  (0.0ms) commit transaction
2180
+  (0.0ms) begin transaction
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
+  (0.1ms) rollback transaction
2186
+  (0.0ms) begin transaction
2187
+  (0.0ms) commit transaction
2188
+  (0.0ms) begin transaction
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
+  (0.0ms) rollback transaction
2194
+  (0.0ms) begin transaction
2195
+  (0.0ms) commit transaction
2196
+  (0.0ms) begin transaction
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
+  (0.1ms) rollback transaction
2202
+  (0.1ms) begin transaction
2203
+  (0.0ms) commit transaction
2204
+  (0.0ms) begin transaction
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
+  (0.0ms) rollback transaction
2210
+  (0.0ms) begin transaction
2211
+  (0.0ms) commit transaction
2212
+  (0.0ms) begin transaction
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
+  (0.0ms) rollback transaction
2218
+  (0.0ms) begin transaction
2219
+  (0.0ms) commit transaction
2220
+  (0.0ms) begin transaction
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
+  (0.0ms) rollback transaction
2226
+  (0.0ms) begin transaction
2227
+  (0.0ms) commit transaction
2228
+  (0.0ms) begin transaction
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
+  (0.0ms) rollback transaction
2234
+  (0.0ms) begin transaction
2235
+  (0.0ms) commit transaction
2236
+  (0.0ms) begin transaction
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
+  (0.0ms) rollback transaction