okei 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/okei/unit.rb +1 -2
- data/db/migrate/20141019072901_populate_okei_units.rb +1 -6
- data/lib/okei/version.rb +1 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +990 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6d25b61567dafcd154149243dc419cc854d5c04
|
4
|
+
data.tar.gz: ccc13a18618b5878bc28fedd71e8fdaaa9ccef1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d41edf219d0587fd4385bc1f7b0c2a3c1e479d70472b71377f1d0d30ab00fd781c2c4cdc303d27bb33e8e09fea4841451595de1a9526f1402ad0f7cb28c32ea5
|
7
|
+
data.tar.gz: b81e88bd7705706fc0d7c556cbfdfe293c0eccddc746c3e91ab0dde52fbfb181250d56f91a620e658d323f08e306c29ad69b69ef13b590e5d735966f44886099
|
data/app/models/okei/unit.rb
CHANGED
@@ -25,9 +25,8 @@ module Okei
|
|
25
25
|
# unit = Unit.new(
|
26
26
|
# name: "Километры в час", code: "КМ/Ч", num: "007", int_code: "KMH",
|
27
27
|
# base: "М/С", factor: 0.28, measure: "СКОРОСТЬ"
|
28
|
+
# uuid: "9ac7e74a-d51a-424c-8fcd-71b0b55f6658"
|
28
29
|
# )
|
29
|
-
# # this can be skipped:
|
30
|
-
# unit.uuids.new value: "9ac7e74a-d51a-424c-8fcd-71b0b55f6658"
|
31
30
|
#
|
32
31
|
class Unit < ActiveRecord::Base
|
33
32
|
include Uuids::Base
|
@@ -49,12 +49,7 @@ class PopulateOkeiUnits < ActiveRecord::Migration
|
|
49
49
|
# Populates units and their uuids from given JSON
|
50
50
|
def populate_units_from(json)
|
51
51
|
say_with_time "Adding #{ json.count } units" do
|
52
|
-
json.each
|
53
|
-
unit = Okei::Unit.new
|
54
|
-
unit.uuids.new value: item.delete("uuid")
|
55
|
-
unit.attributes = item
|
56
|
-
unit.save!
|
57
|
-
end
|
52
|
+
json.each { |item| Okei::Unit.create! item }
|
58
53
|
end
|
59
54
|
end
|
60
55
|
end
|
data/lib/okei/version.rb
CHANGED
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/spec/dummy/log/test.log
CHANGED
@@ -2239,3 +2239,993 @@ Processing by Okei::Api::V1::UnitsController#index as HTML
|
|
2239
2239
|
Unpermitted parameters: code
|
2240
2240
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
2241
2241
|
[1m[35m (0.0ms)[0m rollback transaction
|
2242
|
+
[1m[36m (2.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2243
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
2244
|
+
[1m[36m (2.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
2245
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
2246
|
+
Migrating to CreateCorrectorBases (20141018085223)
|
2247
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2248
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "corrector_bases" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(6), "from" varchar(255) NOT NULL, "to" varchar(255) NOT NULL, "scope" varchar(255))
|
2249
|
+
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "index_corrector_bases_on_scope_and_from" ON "corrector_bases" ("scope", "from")[0m
|
2250
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
2251
|
+
FROM sqlite_master
|
2252
|
+
WHERE name='index_corrector_bases_on_scope_and_from' AND type='index'
|
2253
|
+
UNION ALL
|
2254
|
+
SELECT sql
|
2255
|
+
FROM sqlite_temp_master
|
2256
|
+
WHERE name='index_corrector_bases_on_scope_and_from' AND type='index'
|
2257
|
+
|
2258
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_corrector_bases_on_type" ON "corrector_bases" ("type")[0m
|
2259
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141018085223"]]
|
2260
|
+
[1m[36m (2.8ms)[0m [1mcommit transaction[0m
|
2261
|
+
Migrating to CreateUuidsUuids (20141018085226)
|
2262
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2263
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "uuids_uuids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" varchar(36) NOT NULL, "record_id" integer NOT NULL, "record_type" varchar(255) NOT NULL) [0m
|
2264
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_uuids_uuids_on_record_id_and_record_type" ON "uuids_uuids" ("record_id", "record_type")
|
2265
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
2266
|
+
FROM sqlite_master
|
2267
|
+
WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
|
2268
|
+
UNION ALL
|
2269
|
+
SELECT sql
|
2270
|
+
FROM sqlite_temp_master
|
2271
|
+
WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
|
2272
|
+
[0m
|
2273
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "index_uuids_uuids_on_value" ON "uuids_uuids" ("value")
|
2274
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141018085226"]]
|
2275
|
+
[1m[35m (2.3ms)[0m commit transaction
|
2276
|
+
Migrating to CreateOkeiUnits (20141019072900)
|
2277
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2278
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "okei_units" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "code" varchar(255) NOT NULL, "num" varchar(3), "int_code" varchar(4), "base" varchar(255) NOT NULL, "measure" varchar(255) NOT NULL, "factor" float NOT NULL)
|
2279
|
+
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "index_okei_units_on_code" ON "okei_units" ("code")[0m
|
2280
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
2281
|
+
FROM sqlite_master
|
2282
|
+
WHERE name='index_okei_units_on_code' AND type='index'
|
2283
|
+
UNION ALL
|
2284
|
+
SELECT sql
|
2285
|
+
FROM sqlite_temp_master
|
2286
|
+
WHERE name='index_okei_units_on_code' AND type='index'
|
2287
|
+
|
2288
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_okei_units_on_base" ON "okei_units" ("base")[0m
|
2289
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
2290
|
+
FROM sqlite_master
|
2291
|
+
WHERE name='index_okei_units_on_base' AND type='index'
|
2292
|
+
UNION ALL
|
2293
|
+
SELECT sql
|
2294
|
+
FROM sqlite_temp_master
|
2295
|
+
WHERE name='index_okei_units_on_base' AND type='index'
|
2296
|
+
|
2297
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
2298
|
+
FROM sqlite_master
|
2299
|
+
WHERE name='index_okei_units_on_code' AND type='index'
|
2300
|
+
UNION ALL
|
2301
|
+
SELECT sql
|
2302
|
+
FROM sqlite_temp_master
|
2303
|
+
WHERE name='index_okei_units_on_code' AND type='index'
|
2304
|
+
[0m
|
2305
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_okei_units_on_measure" ON "okei_units" ("measure")
|
2306
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141019072900"]]
|
2307
|
+
[1m[35m (2.2ms)[0m commit transaction
|
2308
|
+
Migrating to PopulateOkeiUnits (20141019072901)
|
2309
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2310
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141019072901"]]
|
2311
|
+
[1m[36m (1.7ms)[0m [1mcommit transaction[0m
|
2312
|
+
Migrating to PopulateOkeiCorrectors (20141019072902)
|
2313
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2314
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141019072902"]]
|
2315
|
+
[1m[35m (2.2ms)[0m commit transaction
|
2316
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2317
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
2318
|
+
FROM sqlite_master
|
2319
|
+
WHERE name='index_corrector_bases_on_type' AND type='index'
|
2320
|
+
UNION ALL
|
2321
|
+
SELECT sql
|
2322
|
+
FROM sqlite_temp_master
|
2323
|
+
WHERE name='index_corrector_bases_on_type' AND type='index'
|
2324
|
+
|
2325
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
2326
|
+
FROM sqlite_master
|
2327
|
+
WHERE name='index_corrector_bases_on_scope_and_from' AND type='index'
|
2328
|
+
UNION ALL
|
2329
|
+
SELECT sql
|
2330
|
+
FROM sqlite_temp_master
|
2331
|
+
WHERE name='index_corrector_bases_on_scope_and_from' AND type='index'
|
2332
|
+
[0m
|
2333
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
2334
|
+
FROM sqlite_master
|
2335
|
+
WHERE name='index_okei_units_on_measure' AND type='index'
|
2336
|
+
UNION ALL
|
2337
|
+
SELECT sql
|
2338
|
+
FROM sqlite_temp_master
|
2339
|
+
WHERE name='index_okei_units_on_measure' AND type='index'
|
2340
|
+
|
2341
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
2342
|
+
FROM sqlite_master
|
2343
|
+
WHERE name='index_okei_units_on_base' AND type='index'
|
2344
|
+
UNION ALL
|
2345
|
+
SELECT sql
|
2346
|
+
FROM sqlite_temp_master
|
2347
|
+
WHERE name='index_okei_units_on_base' AND type='index'
|
2348
|
+
[0m
|
2349
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
2350
|
+
FROM sqlite_master
|
2351
|
+
WHERE name='index_okei_units_on_code' AND type='index'
|
2352
|
+
UNION ALL
|
2353
|
+
SELECT sql
|
2354
|
+
FROM sqlite_temp_master
|
2355
|
+
WHERE name='index_okei_units_on_code' AND type='index'
|
2356
|
+
|
2357
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
2358
|
+
FROM sqlite_master
|
2359
|
+
WHERE name='index_uuids_uuids_on_value' AND type='index'
|
2360
|
+
UNION ALL
|
2361
|
+
SELECT sql
|
2362
|
+
FROM sqlite_temp_master
|
2363
|
+
WHERE name='index_uuids_uuids_on_value' AND type='index'
|
2364
|
+
[0m
|
2365
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
2366
|
+
FROM sqlite_master
|
2367
|
+
WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
|
2368
|
+
UNION ALL
|
2369
|
+
SELECT sql
|
2370
|
+
FROM sqlite_temp_master
|
2371
|
+
WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
|
2372
|
+
|
2373
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2374
|
+
[1m[35m (5.6ms)[0m DELETE FROM "corrector_bases";
|
2375
|
+
[1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2376
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'corrector_bases';
|
2377
|
+
[1m[36m (3.0ms)[0m [1mDELETE FROM "uuids_uuids";[0m
|
2378
|
+
[1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2379
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'uuids_uuids';[0m
|
2380
|
+
[1m[35m (2.5ms)[0m DELETE FROM "okei_units";
|
2381
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2382
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'okei_units';
|
2383
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2384
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2385
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2386
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2387
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 1' LIMIT 1[0m
|
2388
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 1' LIMIT 1
|
2389
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ЕИ 1"], ["factor", 179.64], ["int_code", "BBB"], ["measure", "Длина"], ["name", "Единица 1"], ["num", "002"]]
|
2390
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
2391
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "dbb334f0-db12-4846-9ddb-7fdb969d72a5"]]
|
2392
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2393
|
+
Cache digest for /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder: 127be0d5a5f519d0d2795ca7929831b4
|
2394
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (6.4ms)
|
2395
|
+
Cache digest for /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder: 127be0d5a5f519d0d2795ca7929831b4
|
2396
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (3.4ms)
|
2397
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2398
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2399
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2400
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2401
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2402
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
|
2403
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 2' LIMIT 1[0m
|
2404
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 113.3], ["int_code", "CCC"], ["measure", "Длина"], ["name", "Единица 2"], ["num", "003"]]
|
2405
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
2406
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "cc63ae7f-16f1-4709-bf29-10da570a692e"]]
|
2407
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2408
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1
|
2409
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2410
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2411
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2412
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2413
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2414
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
|
2415
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 3' LIMIT 1[0m
|
2416
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 460.85], ["int_code", "DDD"], ["measure", "Длина"], ["name", "Единица 3"], ["num", "004"]]
|
2417
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
2418
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "76da8b00-538b-4bd4-8fc0-15fb3eb2a514"]]
|
2419
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2420
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1
|
2421
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1[0m
|
2422
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
2423
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2424
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2425
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2426
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2427
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1[0m
|
2428
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 4' LIMIT 1
|
2429
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 701.01], ["int_code", "EEE"], ["measure", "Длина"], ["name", "Единица 4"], ["num", "005"]]
|
2430
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
2431
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "1bad496d-26ee-4855-876a-6c2389a9ac65"]]
|
2432
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2433
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1[0m
|
2434
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
2435
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2436
|
+
[1m[35m (0.1ms)[0m commit transaction
|
2437
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2438
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2439
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1[0m
|
2440
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 5' LIMIT 1
|
2441
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 235.15], ["int_code", "FFF"], ["measure", "Длина"], ["name", "Единица 5"], ["num", "006"]]
|
2442
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
2443
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "498677b0-c89b-42b8-ab32-6ac6a2e72f76"]]
|
2444
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2445
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'тысяч км в сек' ORDER BY "okei_units"."id" ASC LIMIT 1[0m
|
2446
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
2447
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2448
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2449
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2450
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2451
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1[0m
|
2452
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 6' LIMIT 1
|
2453
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 159.3], ["int_code", "GGG"], ["measure", "Длина"], ["name", "Единица 6"], ["num", "007"]]
|
2454
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
2455
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "b079a386-12ab-4f08-a975-afec99ca10c6"]]
|
2456
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2457
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'тысяч км в сек' ORDER BY "okei_units"."id" ASC LIMIT 1[0m
|
2458
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
2459
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2460
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2461
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2462
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2463
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 2' LIMIT 1[0m
|
2464
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 7' LIMIT 1
|
2465
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ЕИ 2"], ["factor", 389.51], ["int_code", "HHH"], ["measure", "Длина"], ["name", "Единица 7"], ["num", "008"]]
|
2466
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
2467
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "f48b99d8-8563-4187-a825-b911ff7e6268"]]
|
2468
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2469
|
+
[1m[36mOkei::Unit Load (0.2ms)[0m [1mSELECT DISTINCT "okei_units".* FROM "okei_units" INNER JOIN "uuids_uuids" ON "uuids_uuids"."record_id" = "okei_units"."id" AND "uuids_uuids"."record_type" = 'Okei::Unit' WHERE "uuids_uuids"."value" = 'f48b99d8-8563-4187-a825-b911ff7e6268' ORDER BY "okei_units"."id" ASC LIMIT 1[0m
|
2470
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
2471
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2472
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2473
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2474
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2475
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 3' LIMIT 1[0m
|
2476
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 8' LIMIT 1
|
2477
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ЕИ 3"], ["factor", 152.81], ["int_code", "III"], ["measure", "Длина"], ["name", "Единица 8"], ["num", "009"]]
|
2478
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
2479
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "b2cd3064-2566-4749-ac25-499bc0adafb5"]]
|
2480
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2481
|
+
[1m[36mOkei::Unit Load (0.2ms)[0m [1mSELECT DISTINCT "okei_units".* FROM "okei_units" INNER JOIN "uuids_uuids" ON "uuids_uuids"."record_id" = "okei_units"."id" AND "uuids_uuids"."record_type" = 'Okei::Unit' WHERE "uuids_uuids"."value" = 'b2cd3064-2566-4749-ac25-499bc0adafb5' ORDER BY "okei_units"."id" ASC LIMIT 1[0m
|
2482
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
2483
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2484
|
+
[1m[35m (0.1ms)[0m commit transaction
|
2485
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2486
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2487
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 4' LIMIT 1[0m
|
2488
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 9' LIMIT 1
|
2489
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ЕИ 4"], ["factor", 710.98], ["int_code", "JJJ"], ["measure", "Длина"], ["name", "Единица 9"], ["num", "010"]]
|
2490
|
+
[1m[35mOkei::Unit Load (0.2ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
2491
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "a9a84c8b-bf7a-4ef2-b593-fa5e979d608d"]]
|
2492
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2493
|
+
[1m[36mOkei::Unit Load (0.3ms)[0m [1mSELECT DISTINCT "okei_units".* FROM "okei_units" INNER JOIN "uuids_uuids" ON "uuids_uuids"."record_id" = "okei_units"."id" AND "uuids_uuids"."record_type" = 'Okei::Unit' WHERE "uuids_uuids"."value" = 'wrong' ORDER BY "okei_units"."id" ASC LIMIT 1[0m
|
2494
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
2495
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2496
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2497
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2498
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2499
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 5' LIMIT 1[0m
|
2500
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 10' LIMIT 1
|
2501
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ЕИ 5"], ["factor", 630.91], ["int_code", "KKK"], ["measure", "Длина"], ["name", "Единица 10"], ["num", "011"]]
|
2502
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
2503
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "7b46361b-346e-4a6c-ab98-35de0d7acc3c"]]
|
2504
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2505
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT DISTINCT "okei_units".* FROM "okei_units" INNER JOIN "uuids_uuids" ON "uuids_uuids"."record_id" = "okei_units"."id" AND "uuids_uuids"."record_type" = 'Okei::Unit' WHERE "uuids_uuids"."value" = 'wrong' ORDER BY "okei_units"."id" ASC LIMIT 1[0m
|
2506
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
2507
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2508
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2509
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2510
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2511
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 6' LIMIT 1[0m
|
2512
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 11' LIMIT 1
|
2513
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ЕИ 6"], ["factor", 475.57], ["int_code", "LLL"], ["measure", "Длина"], ["name", "Единица 11"], ["num", "012"]]
|
2514
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
2515
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "a348e18d-3b6b-4eb6-ab8c-4f160e87b6aa"]]
|
2516
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2517
|
+
Started GET "/okei/api/v1/units/a348e18d-3b6b-4eb6-ab8c-4f160e87b6aa" for 127.0.0.1 at 2014-10-25 21:38:32 +0400
|
2518
|
+
Processing by Okei::Api::V1::UnitsController#show as JSON
|
2519
|
+
Parameters: {"uuid"=>"a348e18d-3b6b-4eb6-ab8c-4f160e87b6aa"}
|
2520
|
+
Unpermitted parameters: format
|
2521
|
+
[1m[36mOkei::Unit Load (0.2ms)[0m [1mSELECT DISTINCT "okei_units".* FROM "okei_units" INNER JOIN "uuids_uuids" ON "uuids_uuids"."record_id" = "okei_units"."id" AND "uuids_uuids"."record_type" = 'Okei::Unit' WHERE "uuids_uuids"."value" = 'a348e18d-3b6b-4eb6-ab8c-4f160e87b6aa' ORDER BY "okei_units"."id" ASC LIMIT 1[0m
|
2522
|
+
[1m[35mUuids::Uuid Load (0.1ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? [["record_id", 1], ["record_type", "Okei::Unit"]]
|
2523
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (1.2ms)
|
2524
|
+
Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.3ms)
|
2525
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2526
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2527
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2528
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2529
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2530
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 7' LIMIT 1
|
2531
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 12' LIMIT 1[0m
|
2532
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 7"], ["factor", 409.91], ["int_code", "MMM"], ["measure", "Длина"], ["name", "Единица 12"], ["num", "013"]]
|
2533
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
2534
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "b126221f-6b88-4d23-b1f5-79609a980a29"]]
|
2535
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2536
|
+
Started GET "/okei/api/v1/units/b126221f-6b88-4d23-b1f5-79609a980a29" for 127.0.0.1 at 2014-10-25 21:38:32 +0400
|
2537
|
+
Processing by Okei::Api::V1::UnitsController#show as JSON
|
2538
|
+
Parameters: {"uuid"=>"b126221f-6b88-4d23-b1f5-79609a980a29"}
|
2539
|
+
Unpermitted parameters: format
|
2540
|
+
[1m[35mOkei::Unit Load (0.2ms)[0m SELECT DISTINCT "okei_units".* FROM "okei_units" INNER JOIN "uuids_uuids" ON "uuids_uuids"."record_id" = "okei_units"."id" AND "uuids_uuids"."record_type" = 'Okei::Unit' WHERE "uuids_uuids"."value" = 'b126221f-6b88-4d23-b1f5-79609a980a29' ORDER BY "okei_units"."id" ASC LIMIT 1
|
2541
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ?[0m [["record_id", 1], ["record_type", "Okei::Unit"]]
|
2542
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.7ms)
|
2543
|
+
Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.2ms)
|
2544
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
2545
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2546
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2547
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2548
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2549
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 8' LIMIT 1[0m
|
2550
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 13' LIMIT 1
|
2551
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ЕИ 8"], ["factor", 198.66], ["int_code", "NNN"], ["measure", "Длина"], ["name", "Единица 13"], ["num", "014"]]
|
2552
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
2553
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "811acc8b-83b3-4f85-936a-9d950ad951de"]]
|
2554
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2555
|
+
Started GET "/okei/api/v1/units/811acc8b-83b3-4f85-936a-9d950ad951de" for 127.0.0.1 at 2014-10-25 21:38:32 +0400
|
2556
|
+
Processing by Okei::Api::V1::UnitsController#show as JSON
|
2557
|
+
Parameters: {"uuid"=>"811acc8b-83b3-4f85-936a-9d950ad951de"}
|
2558
|
+
Unpermitted parameters: format
|
2559
|
+
[1m[36mOkei::Unit Load (0.2ms)[0m [1mSELECT DISTINCT "okei_units".* FROM "okei_units" INNER JOIN "uuids_uuids" ON "uuids_uuids"."record_id" = "okei_units"."id" AND "uuids_uuids"."record_type" = 'Okei::Unit' WHERE "uuids_uuids"."value" = '811acc8b-83b3-4f85-936a-9d950ad951de' ORDER BY "okei_units"."id" ASC LIMIT 1[0m
|
2560
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? [["record_id", 1], ["record_type", "Okei::Unit"]]
|
2561
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.7ms)
|
2562
|
+
Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.2ms)
|
2563
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2564
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2565
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2566
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2567
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2568
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 9' LIMIT 1
|
2569
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 14' LIMIT 1[0m
|
2570
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 9"], ["factor", 579.86], ["int_code", "OOO"], ["measure", "Длина"], ["name", "Единица 14"], ["num", "015"]]
|
2571
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
2572
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "15e6bb2d-dc3d-41c0-9065-8d07b4747452"]]
|
2573
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2574
|
+
Started GET "/okei/api/v1/units/00000000-0000-0000-0000-000000000000" for 127.0.0.1 at 2014-10-25 21:38:32 +0400
|
2575
|
+
Processing by Okei::Api::V1::UnitsController#show as JSON
|
2576
|
+
Parameters: {"uuid"=>"00000000-0000-0000-0000-000000000000"}
|
2577
|
+
Unpermitted parameters: format
|
2578
|
+
[1m[35mOkei::Unit Load (0.2ms)[0m SELECT DISTINCT "okei_units".* FROM "okei_units" INNER JOIN "uuids_uuids" ON "uuids_uuids"."record_id" = "okei_units"."id" AND "uuids_uuids"."record_type" = 'Okei::Unit' WHERE "uuids_uuids"."value" = '00000000-0000-0000-0000-000000000000' ORDER BY "okei_units"."id" ASC LIMIT 1
|
2579
|
+
Completed 404 Not Found in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms)
|
2580
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2581
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2582
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2583
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2584
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2585
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 10' LIMIT 1
|
2586
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 15' LIMIT 1[0m
|
2587
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 10"], ["factor", 659.06], ["int_code", "PPP"], ["measure", "Длина"], ["name", "Единица 15"], ["num", "016"]]
|
2588
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
2589
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "13afd229-0e29-4ccc-896e-ea9b338595a3"]]
|
2590
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2591
|
+
Started GET "/okei/api/v1/units/00000000-0000-0000-0000-000000000000" for 127.0.0.1 at 2014-10-25 21:38:32 +0400
|
2592
|
+
Processing by Okei::Api::V1::UnitsController#show as JSON
|
2593
|
+
Parameters: {"uuid"=>"00000000-0000-0000-0000-000000000000"}
|
2594
|
+
Unpermitted parameters: format
|
2595
|
+
[1m[35mOkei::Unit Load (0.2ms)[0m SELECT DISTINCT "okei_units".* FROM "okei_units" INNER JOIN "uuids_uuids" ON "uuids_uuids"."record_id" = "okei_units"."id" AND "uuids_uuids"."record_type" = 'Okei::Unit' WHERE "uuids_uuids"."value" = '00000000-0000-0000-0000-000000000000' ORDER BY "okei_units"."id" ASC LIMIT 1
|
2596
|
+
Completed 404 Not Found in 4ms (Views: 2.2ms | ActiveRecord: 0.2ms)
|
2597
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2598
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2599
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2600
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2601
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
2602
|
+
Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
2603
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2604
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2605
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2606
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2607
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
2608
|
+
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
|
2609
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2610
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2611
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2612
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2613
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
2614
|
+
Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
|
2615
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2616
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2617
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2618
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2619
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
2620
|
+
Completed 404 Not Found in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
|
2621
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2622
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2623
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2624
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2625
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
2626
|
+
Completed 404 Not Found in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
|
2627
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2628
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2629
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2630
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2631
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
2632
|
+
Completed 404 Not Found in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
|
2633
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2634
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2635
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2636
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2637
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
2638
|
+
Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
|
2639
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2640
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2641
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2642
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2643
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
2644
|
+
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
|
2645
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2646
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2647
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2648
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2649
|
+
Processing by Okei::Api::V1::ResponderController#index as JSON
|
2650
|
+
Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
2651
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2652
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2653
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2654
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2655
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2656
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 11' LIMIT 1
|
2657
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 16' LIMIT 1[0m
|
2658
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 11"], ["factor", 86.75], ["int_code", "QQQ"], ["measure", "ДЛИНА"], ["name", "Единица 16"], ["num", "017"]]
|
2659
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
2660
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "69d390e5-cb9a-4e82-8bc7-913769152105"]]
|
2661
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2662
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2663
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 12' LIMIT 1[0m
|
2664
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 17' LIMIT 1
|
2665
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ЕИ 12"], ["factor", 203.89], ["int_code", "RRR"], ["measure", "ПРОЧИЕ"], ["name", "Единица 17"], ["num", "018"]]
|
2666
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
|
2667
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "f899a4e5-8716-447c-b670-34c4facf64b2"]]
|
2668
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2669
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC[0m
|
2670
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC
|
2671
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2672
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2673
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2674
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2675
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2676
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 13' LIMIT 1
|
2677
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 18' LIMIT 1[0m
|
2678
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 13"], ["factor", 426.31], ["int_code", "SSS"], ["measure", "ДЛИНА"], ["name", "Единица 18"], ["num", "019"]]
|
2679
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
2680
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "25785b12-c705-4bb0-86c5-054f7282aeea"]]
|
2681
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2682
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2683
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 14' LIMIT 1[0m
|
2684
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 19' LIMIT 1
|
2685
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ЕИ 14"], ["factor", 208.08], ["int_code", "TTT"], ["measure", "ПРОЧИЕ"], ["name", "Единица 19"], ["num", "020"]]
|
2686
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
|
2687
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "45d4665e-32f7-475a-a707-5e3c0e1367a7"]]
|
2688
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2689
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC[0m
|
2690
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC
|
2691
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2692
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2693
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2694
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2695
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2696
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 15' LIMIT 1
|
2697
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 20' LIMIT 1[0m
|
2698
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 15"], ["factor", 98.3], ["int_code", "UUU"], ["measure", "ДЛИНА"], ["name", "Единица 20"], ["num", "021"]]
|
2699
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
2700
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "af580bde-e9c9-49ec-9048-febe30326969"]]
|
2701
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2702
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2703
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 16' LIMIT 1[0m
|
2704
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 21' LIMIT 1
|
2705
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ЕИ 16"], ["factor", 449.68], ["int_code", "VVV"], ["measure", "ПРОЧИЕ"], ["name", "Единица 21"], ["num", "022"]]
|
2706
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
|
2707
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "1fdc503d-d720-4e6d-b725-2c9483fa4f32"]]
|
2708
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2709
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."measure" = 'ДЛИНА' ORDER BY "okei_units"."code" ASC[0m
|
2710
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
2711
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2712
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2713
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2714
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2715
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 17' LIMIT 1[0m
|
2716
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 22' LIMIT 1
|
2717
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ЕИ 17"], ["factor", 754.0], ["int_code", "WWW"], ["measure", "ДЛИНА"], ["name", "Единица 22"], ["num", "023"]]
|
2718
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
2719
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "07eb9892-d83f-4ecf-b6a5-1cca68d8a76f"]]
|
2720
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2721
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2722
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 18' LIMIT 1
|
2723
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 23' LIMIT 1[0m
|
2724
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 18"], ["factor", 787.29], ["int_code", "XXA"], ["measure", "ПРОЧИЕ"], ["name", "Единица 23"], ["num", "024"]]
|
2725
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 2]]
|
2726
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "6515a2fd-c056-40fe-8bd7-0c9067dc5552"]]
|
2727
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2728
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."measure" = 'ДЛИНА' ORDER BY "okei_units"."code" ASC
|
2729
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2730
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2731
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2732
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2733
|
+
Processing by Okei::Api::V1::UnitsController#search as HTML
|
2734
|
+
Parameters: {"text"=>"text", "wrong"=>"wrong"}
|
2735
|
+
Unpermitted parameters: wrong
|
2736
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
2737
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2738
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2739
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2740
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2741
|
+
Processing by Okei::Api::V1::UnitsController#search as HTML
|
2742
|
+
Parameters: {"text"=>"text", "wrong"=>"wrong"}
|
2743
|
+
Unpermitted parameters: wrong
|
2744
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
2745
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2746
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2747
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2748
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2749
|
+
Processing by Okei::Api::V1::UnitsController#search as HTML
|
2750
|
+
Parameters: {"text"=>"text", "wrong"=>"wrong"}
|
2751
|
+
Unpermitted parameters: wrong
|
2752
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
2753
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2754
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2755
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2756
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2757
|
+
Processing by Okei::Api::V1::UnitsController#show as HTML
|
2758
|
+
Parameters: {"wrong"=>"wrong", "uuid"=>"00000000-0000-0000-0000-000000000000"}
|
2759
|
+
Unpermitted parameters: wrong
|
2760
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
2761
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2762
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2763
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2764
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2765
|
+
Processing by Okei::Api::V1::UnitsController#show as HTML
|
2766
|
+
Parameters: {"wrong"=>"wrong", "uuid"=>"00000000-0000-0000-0000-000000000000"}
|
2767
|
+
Unpermitted parameters: wrong
|
2768
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
2769
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2770
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2771
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2772
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2773
|
+
Processing by Okei::Api::V1::UnitsController#show as HTML
|
2774
|
+
Parameters: {"wrong"=>"wrong", "uuid"=>"00000000-0000-0000-0000-000000000000"}
|
2775
|
+
Unpermitted parameters: wrong
|
2776
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
2777
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2778
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2779
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2780
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2781
|
+
Processing by Okei::Api::V1::UnitsController#index as HTML
|
2782
|
+
Parameters: {"measure"=>"measure", "code"=>"code"}
|
2783
|
+
Unpermitted parameters: code
|
2784
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
2785
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2786
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2787
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2788
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2789
|
+
Processing by Okei::Api::V1::UnitsController#index as HTML
|
2790
|
+
Parameters: {"measure"=>"measure", "code"=>"code"}
|
2791
|
+
Unpermitted parameters: code
|
2792
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
2793
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2794
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2795
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2796
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2797
|
+
Processing by Okei::Api::V1::UnitsController#index as HTML
|
2798
|
+
Parameters: {"measure"=>"measure", "code"=>"code"}
|
2799
|
+
Unpermitted parameters: code
|
2800
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
2801
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2802
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2803
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
2804
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2805
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2806
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2807
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2808
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2809
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2810
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2811
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2812
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2813
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2814
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2815
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2816
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2817
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2818
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
|
2819
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 24' LIMIT 1[0m
|
2820
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 172.95], ["int_code", "YAB"], ["measure", "Длина"], ["name", "Единица 24"], ["num", "025"]]
|
2821
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
2822
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "b2f0878d-00af-4817-bb09-b962157272cf"]]
|
2823
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2824
|
+
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-25 21:38:32 +0400
|
2825
|
+
Processing by Okei::Api::V1::UnitsController#search as JSON
|
2826
|
+
Parameters: {"text"=>"километров в сек"}
|
2827
|
+
Unpermitted parameters: format
|
2828
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1
|
2829
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ?[0m [["record_id", 1], ["record_type", "Okei::Unit"]]
|
2830
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.8ms)
|
2831
|
+
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.2ms)
|
2832
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
2833
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2834
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2835
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2836
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2837
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1[0m
|
2838
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 25' LIMIT 1
|
2839
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 867.79], ["int_code", "ABC"], ["measure", "Длина"], ["name", "Единица 25"], ["num", "026"]]
|
2840
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
2841
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "92cf23b3-06f1-4b5e-9e4c-c485b2bf2a46"]]
|
2842
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2843
|
+
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-25 21:38:32 +0400
|
2844
|
+
Processing by Okei::Api::V1::UnitsController#search as JSON
|
2845
|
+
Parameters: {"text"=>"километров в сек"}
|
2846
|
+
Unpermitted parameters: format
|
2847
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1[0m
|
2848
|
+
[1m[35mUuids::Uuid Load (0.1ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? [["record_id", 1], ["record_type", "Okei::Unit"]]
|
2849
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.7ms)
|
2850
|
+
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms)
|
2851
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2852
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2853
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2854
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2855
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2856
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1
|
2857
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 26' LIMIT 1[0m
|
2858
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 61.69], ["int_code", "BCD"], ["measure", "Длина"], ["name", "Единица 26"], ["num", "027"]]
|
2859
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
2860
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "6edef11c-4365-48ce-b447-a2b537c313bd"]]
|
2861
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2862
|
+
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-25 21:38:32 +0400
|
2863
|
+
Processing by Okei::Api::V1::UnitsController#search as JSON
|
2864
|
+
Parameters: {"text"=>"километров в сек"}
|
2865
|
+
Unpermitted parameters: format
|
2866
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' ORDER BY "okei_units"."id" ASC LIMIT 1
|
2867
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ?[0m [["record_id", 1], ["record_type", "Okei::Unit"]]
|
2868
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.7ms)
|
2869
|
+
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms)
|
2870
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
2871
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2872
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2873
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2874
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2875
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1[0m
|
2876
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 27' LIMIT 1
|
2877
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 454.66], ["int_code", "CDE"], ["measure", "Длина"], ["name", "Единица 27"], ["num", "028"]]
|
2878
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
2879
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "e9aa39df-6df2-4291-a9d2-431268c45bbe"]]
|
2880
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2881
|
+
Started GET "/okei/api/v1/units/search?text=wrong+text" for 127.0.0.1 at 2014-10-25 21:38:32 +0400
|
2882
|
+
Processing by Okei::Api::V1::UnitsController#search as JSON
|
2883
|
+
Parameters: {"text"=>"wrong text"}
|
2884
|
+
Unpermitted parameters: format
|
2885
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'wrong text' ORDER BY "okei_units"."id" ASC LIMIT 1[0m
|
2886
|
+
Completed 404 Not Found in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms)
|
2887
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
2888
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2889
|
+
[1m[35m (0.1ms)[0m commit transaction
|
2890
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2891
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2892
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ТЫС М/С2' LIMIT 1[0m
|
2893
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 28' LIMIT 1
|
2894
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ТЫС М/С2"], ["factor", 510.45], ["int_code", "DEF"], ["measure", "Длина"], ["name", "Единица 28"], ["num", "029"]]
|
2895
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
2896
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "fbd46c3a-d3e1-474f-a137-87f26c01fa29"]]
|
2897
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2898
|
+
Started GET "/okei/api/v1/units/search?text=wrong+text" for 127.0.0.1 at 2014-10-25 21:38:32 +0400
|
2899
|
+
Processing by Okei::Api::V1::UnitsController#search as JSON
|
2900
|
+
Parameters: {"text"=>"wrong text"}
|
2901
|
+
Unpermitted parameters: format
|
2902
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."code" = 'wrong text' ORDER BY "okei_units"."id" ASC LIMIT 1[0m
|
2903
|
+
Completed 404 Not Found in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms)
|
2904
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
2905
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2906
|
+
[1m[35m (0.1ms)[0m commit transaction
|
2907
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2908
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2909
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2910
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2911
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2912
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2913
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2914
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2915
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2916
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2917
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2918
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2919
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2920
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2921
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2922
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2923
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2924
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2925
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2926
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2927
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2928
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2929
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2930
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2931
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2932
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2933
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2934
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2935
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2936
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 19' LIMIT 1
|
2937
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 29' LIMIT 1[0m
|
2938
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2939
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 20' LIMIT 1[0m
|
2940
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 30' LIMIT 1
|
2941
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ЕИ 20"], ["factor", 882.36], ["int_code", "EFG"], ["measure", "Длина"], ["name", "Единица 30"], ["num", "031"]]
|
2942
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
2943
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "cf4883e3-a16c-4d6f-b22c-c8279c007a2d"]]
|
2944
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2945
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 19' LIMIT 1[0m
|
2946
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 29' LIMIT 1
|
2947
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2948
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2949
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2950
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2951
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 21' LIMIT 1[0m
|
2952
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 31' LIMIT 1
|
2953
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 21' LIMIT 1[0m
|
2954
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 31' LIMIT 1
|
2955
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2956
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2957
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2958
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2959
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 22' LIMIT 1[0m
|
2960
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 32' LIMIT 1
|
2961
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2962
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 23' LIMIT 1
|
2963
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 33' LIMIT 1[0m
|
2964
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 23"], ["factor", 285.72], ["int_code", "HIJ"], ["measure", "Длина"], ["name", "Единица 33"], ["num", "033"]]
|
2965
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
2966
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "70d64a95-2ef3-4765-bf1f-a06eee3fe1bf"]]
|
2967
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2968
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 22' LIMIT 1
|
2969
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 32' LIMIT 1[0m
|
2970
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2971
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2972
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2973
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2974
|
+
[1m[35mOkei::Unit Exists (0.2ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 24' LIMIT 1
|
2975
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 34' LIMIT 1[0m
|
2976
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 24' LIMIT 1
|
2977
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 34' LIMIT 1[0m
|
2978
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2979
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2980
|
+
[1m[35m (0.1ms)[0m commit transaction
|
2981
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2982
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 25' LIMIT 1
|
2983
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 35' LIMIT 1[0m
|
2984
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 25' LIMIT 1
|
2985
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 35' LIMIT 1[0m
|
2986
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2987
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2988
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2989
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2990
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 26' LIMIT 1
|
2991
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 36' LIMIT 1[0m
|
2992
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 26' LIMIT 1
|
2993
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 36' LIMIT 1[0m
|
2994
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2995
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2996
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2997
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2998
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 27' LIMIT 1
|
2999
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 37' LIMIT 1[0m
|
3000
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 27' LIMIT 1
|
3001
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 37' LIMIT 1[0m
|
3002
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3003
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3004
|
+
[1m[35m (0.0ms)[0m commit transaction
|
3005
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3006
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 28' LIMIT 1
|
3007
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 38' LIMIT 1[0m
|
3008
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 28' LIMIT 1
|
3009
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3010
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3011
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
3012
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3013
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 29' LIMIT 1[0m
|
3014
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 39' LIMIT 1
|
3015
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 29' LIMIT 1[0m
|
3016
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 39' LIMIT 1
|
3017
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 29' LIMIT 1[0m
|
3018
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 39' LIMIT 1
|
3019
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3020
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3021
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
3022
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3023
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 30' LIMIT 1[0m
|
3024
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 40' LIMIT 1
|
3025
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3026
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 31' LIMIT 1
|
3027
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 40' LIMIT 1[0m
|
3028
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "ЕИ 31"], ["factor", 185.8], ["int_code", "PQR"], ["measure", "Длина"], ["name", "Единица 40"], ["num", "041"]]
|
3029
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
3030
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "cd3b46e3-9b52-4550-9ce6-90f0babde92e"]]
|
3031
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3032
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 30' LIMIT 1
|
3033
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 40' LIMIT 1[0m
|
3034
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
3035
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3036
|
+
[1m[35m (0.0ms)[0m commit transaction
|
3037
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3038
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 32' LIMIT 1
|
3039
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 41' LIMIT 1[0m
|
3040
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3041
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 32' LIMIT 1[0m
|
3042
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 42' LIMIT 1
|
3043
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "ЕИ 32"], ["factor", 542.8], ["int_code", "RST"], ["measure", "Длина"], ["name", "Единица 42"], ["num", "043"]]
|
3044
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
3045
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "7bb825c2-a6ee-49ce-b386-d1a835ff5e47"]]
|
3046
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3047
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 32' LIMIT 1[0m
|
3048
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 41' LIMIT 1
|
3049
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3050
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3051
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
3052
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3053
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 33' LIMIT 1[0m
|
3054
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 43' LIMIT 1
|
3055
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 43' LIMIT 1[0m
|
3056
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3057
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3058
|
+
[1m[35m (0.0ms)[0m commit transaction
|
3059
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3060
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 34' LIMIT 1
|
3061
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 44' LIMIT 1[0m
|
3062
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 34' LIMIT 1
|
3063
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 44' LIMIT 1[0m
|
3064
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 34' LIMIT 1
|
3065
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 44' LIMIT 1[0m
|
3066
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'ЕИ 34' LIMIT 1
|
3067
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 44' LIMIT 1[0m
|
3068
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3069
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3070
|
+
[1m[35m (0.0ms)[0m commit transaction
|
3071
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3072
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3073
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3074
|
+
[1m[35m (0.0ms)[0m commit transaction
|
3075
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3076
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3077
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МИЛЬ' LIMIT 1[0m
|
3078
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 45' LIMIT 1
|
3079
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "МИЛЬ"], ["factor", 444.51], ["int_code", "UVW"], ["measure", "ДЛИНА"], ["name", "Единица 45"], ["num", "046"]]
|
3080
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
3081
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "a335e7d4-8262-43a7-990b-cb9f39cf29c8"]]
|
3082
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3083
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3084
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МОЛЬ' LIMIT 1
|
3085
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 46' LIMIT 1[0m
|
3086
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "МОЛЬ"], ["factor", 876.93], ["int_code", "VWA"], ["measure", "ПРОЧИЕ"], ["name", "Единица 46"], ["num", "047"]]
|
3087
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 2]]
|
3088
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "581022d6-4df5-4cb5-88da-856e51c9dafe"]]
|
3089
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3090
|
+
Started GET "/okei/api/v1/units" for 127.0.0.1 at 2014-10-25 21:38:32 +0400
|
3091
|
+
Processing by Okei::Api::V1::UnitsController#index as JSON
|
3092
|
+
Unpermitted parameters: format
|
3093
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC
|
3094
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ?[0m [["record_id", 1], ["record_type", "Okei::Unit"]]
|
3095
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.7ms)
|
3096
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? [["record_id", 2], ["record_type", "Okei::Unit"]]
|
3097
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.5ms)
|
3098
|
+
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.2ms)
|
3099
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
3100
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3101
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
3102
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3103
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3104
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МИЛЬ' LIMIT 1
|
3105
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 47' LIMIT 1[0m
|
3106
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "МИЛЬ"], ["factor", 174.26], ["int_code", "WXB"], ["measure", "ДЛИНА"], ["name", "Единица 47"], ["num", "048"]]
|
3107
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
3108
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "904806ae-270d-4e93-a789-fb085fde3f78"]]
|
3109
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3110
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3111
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МОЛЬ' LIMIT 1[0m
|
3112
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 48' LIMIT 1
|
3113
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "МОЛЬ"], ["factor", 779.25], ["int_code", "XAC"], ["measure", "ПРОЧИЕ"], ["name", "Единица 48"], ["num", "049"]]
|
3114
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
|
3115
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "62f1e480-385c-4345-88c4-0873b79f440b"]]
|
3116
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3117
|
+
Started GET "/okei/api/v1/units" for 127.0.0.1 at 2014-10-25 21:38:32 +0400
|
3118
|
+
Processing by Okei::Api::V1::UnitsController#index as JSON
|
3119
|
+
Unpermitted parameters: format
|
3120
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC[0m
|
3121
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? [["record_id", 1], ["record_type", "Okei::Unit"]]
|
3122
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.7ms)
|
3123
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ?[0m [["record_id", 2], ["record_type", "Okei::Unit"]]
|
3124
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.6ms)
|
3125
|
+
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.2ms)
|
3126
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
3127
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3128
|
+
[1m[35m (0.0ms)[0m commit transaction
|
3129
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3130
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3131
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МИЛЬ' LIMIT 1[0m
|
3132
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 49' LIMIT 1
|
3133
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "МИЛЬ"], ["factor", 723.51], ["int_code", "YBD"], ["measure", "ДЛИНА"], ["name", "Единица 49"], ["num", "050"]]
|
3134
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 1]]
|
3135
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "1970d3da-cc32-4ea6-9679-70f52a3c1920"]]
|
3136
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3137
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3138
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МОЛЬ' LIMIT 1
|
3139
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 50' LIMIT 1[0m
|
3140
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "МОЛЬ"], ["factor", 375.59], ["int_code", "ACE"], ["measure", "ПРОЧИЕ"], ["name", "Единица 50"], ["num", "051"]]
|
3141
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 2]]
|
3142
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "9d51800f-8b71-4f3d-86f4-17ce90758c02"]]
|
3143
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3144
|
+
Started GET "/okei/api/v1/units" for 127.0.0.1 at 2014-10-25 21:38:32 +0400
|
3145
|
+
Processing by Okei::Api::V1::UnitsController#index as JSON
|
3146
|
+
Unpermitted parameters: format
|
3147
|
+
[1m[35mOkei::Unit Load (0.1ms)[0m SELECT "okei_units".* FROM "okei_units" ORDER BY "okei_units"."code" ASC
|
3148
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ?[0m [["record_id", 1], ["record_type", "Okei::Unit"]]
|
3149
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.7ms)
|
3150
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? [["record_id", 2], ["record_type", "Okei::Unit"]]
|
3151
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.6ms)
|
3152
|
+
Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.2ms)
|
3153
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
3154
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3155
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
3156
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3157
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3158
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МИЛЬ' LIMIT 1
|
3159
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 51' LIMIT 1[0m
|
3160
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "МИЛЬ"], ["factor", 206.59], ["int_code", "BDF"], ["measure", "ДЛИНА"], ["name", "Единица 51"], ["num", "052"]]
|
3161
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
3162
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "98f68a40-8d24-40ac-82bb-9a825fc2c5d5"]]
|
3163
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3164
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3165
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МОЛЬ' LIMIT 1[0m
|
3166
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 52' LIMIT 1
|
3167
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "МОЛЬ"], ["factor", 805.13], ["int_code", "CEG"], ["measure", "ПРОЧИЕ"], ["name", "Единица 52"], ["num", "053"]]
|
3168
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
|
3169
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "20a19458-98b6-4b84-9949-7773bb115bfd"]]
|
3170
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3171
|
+
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-25 21:38:32 +0400
|
3172
|
+
Processing by Okei::Api::V1::UnitsController#index as JSON
|
3173
|
+
Parameters: {"measure"=>"ДЛИНА"}
|
3174
|
+
Unpermitted parameters: format
|
3175
|
+
[1m[36mOkei::Unit Load (0.1ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."measure" = 'ДЛИНА' ORDER BY "okei_units"."code" ASC[0m
|
3176
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? [["record_id", 1], ["record_type", "Okei::Unit"]]
|
3177
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.8ms)
|
3178
|
+
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.2ms)
|
3179
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
3180
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3181
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
3182
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3183
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3184
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МИЛЬ' LIMIT 1
|
3185
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 53' LIMIT 1[0m
|
3186
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "МИЛЬ"], ["factor", 978.7], ["int_code", "DFH"], ["measure", "ДЛИНА"], ["name", "Единица 53"], ["num", "054"]]
|
3187
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
3188
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "78303b3f-b6e9-4d4e-855e-3208803b51e5"]]
|
3189
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3190
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3191
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МОЛЬ' LIMIT 1[0m
|
3192
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 54' LIMIT 1
|
3193
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "МОЛЬ"], ["factor", 149.31], ["int_code", "EGI"], ["measure", "ПРОЧИЕ"], ["name", "Единица 54"], ["num", "055"]]
|
3194
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
|
3195
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "6c9d20c4-69f0-4f4b-89d4-5cdacadfaaa0"]]
|
3196
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3197
|
+
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-25 21:38:32 +0400
|
3198
|
+
Processing by Okei::Api::V1::UnitsController#index as JSON
|
3199
|
+
Parameters: {"measure"=>"ДЛИНА"}
|
3200
|
+
Unpermitted parameters: format
|
3201
|
+
[1m[36mOkei::Unit Load (0.2ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."measure" = 'ДЛИНА' ORDER BY "okei_units"."code" ASC[0m
|
3202
|
+
[1m[35mUuids::Uuid Load (0.1ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? [["record_id", 1], ["record_type", "Okei::Unit"]]
|
3203
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (0.8ms)
|
3204
|
+
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms)
|
3205
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
3206
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3207
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
3208
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3209
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3210
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МИЛЬ' LIMIT 1
|
3211
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 55' LIMIT 1[0m
|
3212
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?) [["base", "М"], ["code", "МИЛЬ"], ["factor", 269.2], ["int_code", "FHJ"], ["measure", "ДЛИНА"], ["name", "Единица 55"], ["num", "056"]]
|
3213
|
+
[1m[36mOkei::Unit Load (0.0ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1[0m [["id", 1]]
|
3214
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Okei::Unit"], ["value", "aeb83d62-28de-46fd-82e9-b6d81bb6ed44"]]
|
3215
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3216
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3217
|
+
[1m[36mOkei::Unit Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "okei_units" WHERE "okei_units"."code" = 'МОЛЬ' LIMIT 1[0m
|
3218
|
+
[1m[35mOkei::Unit Exists (0.1ms)[0m SELECT 1 AS one FROM "okei_units" WHERE "okei_units"."name" = 'Единица 56' LIMIT 1
|
3219
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "okei_units" ("base", "code", "factor", "int_code", "measure", "name", "num") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["base", "М"], ["code", "МОЛЬ"], ["factor", 665.04], ["int_code", "GIK"], ["measure", "ПРОЧИЕ"], ["name", "Единица 56"], ["num", "057"]]
|
3220
|
+
[1m[35mOkei::Unit Load (0.0ms)[0m SELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."id" = ? LIMIT 1 [["id", 2]]
|
3221
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 2], ["record_type", "Okei::Unit"], ["value", "4a8582b1-b5d8-445d-ab8d-f506a23099aa"]]
|
3222
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3223
|
+
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-25 21:38:33 +0400
|
3224
|
+
Processing by Okei::Api::V1::UnitsController#index as JSON
|
3225
|
+
Parameters: {"measure"=>"ДЛИНА"}
|
3226
|
+
Unpermitted parameters: format
|
3227
|
+
[1m[36mOkei::Unit Load (0.2ms)[0m [1mSELECT "okei_units".* FROM "okei_units" WHERE "okei_units"."measure" = 'ДЛИНА' ORDER BY "okei_units"."code" ASC[0m
|
3228
|
+
[1m[35mUuids::Uuid Load (0.1ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? [["record_id", 1], ["record_type", "Okei::Unit"]]
|
3229
|
+
Rendered /home/nepalez/Sites/okei/app/views/okei/api/v1/units/_unit.json.jbuilder (1.7ms)
|
3230
|
+
Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.3ms)
|
3231
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: okei
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kozin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hexx
|
@@ -78,14 +78,14 @@ dependencies:
|
|
78
78
|
requirements:
|
79
79
|
- - "~>"
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: '1.
|
81
|
+
version: '1.1'
|
82
82
|
type: :runtime
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - "~>"
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: '1.
|
88
|
+
version: '1.1'
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
90
|
name: database_cleaner
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|