rus_bank_rails 0.3.4 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -18744,3 +18744,2935 @@ RusBankRailsTest: test_truth
18744
18744
  SQL (0.3ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sat, 08 Feb 2014 12:46:00 UTC +00:00]]
18745
18745
   (0.4ms) commit transaction
18746
18746
  Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18747
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
18748
+  (0.8ms) DELETE FROM "banks";
18749
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
18750
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'banks';
18751
+  (0.1ms) begin transaction
18752
+ SQL (3.6ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:02 UTC +00:00], ["internal_code", 450000650999999], ["licences", nil], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 14:43:02 UTC +00:00]]
18753
+  (0.4ms) commit transaction
18754
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18755
+  (0.5ms) DELETE FROM "banks";
18756
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
18757
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
18758
+  (0.1ms) SELECT COUNT(*) FROM "banks"
18759
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18760
+  (0.1ms) begin transaction
18761
+ SQL (0.5ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:02 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 14:43:02 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
18762
+  (0.4ms) commit transaction
18763
+  (0.1ms) SELECT COUNT(*) FROM "banks"
18764
+  (0.5ms) DELETE FROM "banks";
18765
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
18766
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
18767
+  (0.0ms) begin transaction
18768
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:02 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 14:43:02 UTC +00:00]]
18769
+  (0.4ms) commit transaction
18770
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18771
+  (0.1ms) begin transaction
18772
+ SQL (0.4ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 14:43:02 UTC +00:00]]
18773
+  (0.4ms) commit transaction
18774
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18775
+  (0.5ms) DELETE FROM "banks";
18776
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
18777
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
18778
+  (0.0ms) begin transaction
18779
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:02 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 14:43:02 UTC +00:00]]
18780
+  (0.3ms) commit transaction
18781
+  (0.1ms) SELECT COUNT(*) FROM "banks"
18782
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18783
+  (0.1ms) SELECT COUNT(*) FROM "banks"
18784
+  (0.5ms) DELETE FROM "banks";
18785
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
18786
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
18787
+  (0.1ms) begin transaction
18788
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "111111111"], ["created_at", Sun, 09 Feb 2014 14:43:02 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 14:43:02 UTC +00:00]]
18789
+  (0.4ms) commit transaction
18790
+  (0.1ms) SELECT COUNT(*) FROM "banks"
18791
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '111111111' LIMIT 1
18792
+ SQL (0.6ms) DELETE FROM "banks" WHERE "banks"."id" = 1
18793
+  (0.1ms) SELECT COUNT(*) FROM "banks"
18794
+  (0.5ms) DELETE FROM "banks";
18795
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
18796
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
18797
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18798
+  (0.1ms) begin transaction
18799
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:02 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 14:43:02 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
18800
+  (0.3ms) commit transaction
18801
+  (0.4ms) DELETE FROM "banks";
18802
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
18803
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
18804
+  (0.0ms) begin transaction
18805
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:02 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 14:43:02 UTC +00:00]]
18806
+  (0.3ms) commit transaction
18807
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18808
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18809
+  (0.1ms) begin transaction
18810
+ SQL (0.4ms) UPDATE "banks" SET "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 14:43:02 UTC +00:00]]
18811
+  (0.4ms) commit transaction
18812
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18813
+  (0.5ms) DELETE FROM "banks";
18814
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
18815
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
18816
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18817
+  (0.1ms) begin transaction
18818
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:03 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 14:43:03 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
18819
+  (0.4ms) commit transaction
18820
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18821
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18822
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18823
+  (0.5ms) DELETE FROM "banks";
18824
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
18825
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
18826
+  (0.1ms) SELECT COUNT(*) FROM "banks"
18827
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
18828
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18829
+  (0.1ms) begin transaction
18830
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:03 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 14:43:03 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
18831
+  (0.5ms) commit transaction
18832
+  (0.1ms) SELECT COUNT(*) FROM "banks"
18833
+  (0.5ms) DELETE FROM "banks";
18834
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
18835
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
18836
+  (0.0ms) begin transaction
18837
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:03 UTC +00:00], ["internal_code", 450000650999999], ["licences", nil], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 14:43:03 UTC +00:00]]
18838
+  (0.4ms) commit transaction
18839
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
18840
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18841
+  (0.4ms) DELETE FROM "banks";
18842
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
18843
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
18844
+  (0.0ms) begin transaction
18845
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:03 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 14:43:03 UTC +00:00]]
18846
+  (0.3ms) commit transaction
18847
+  (0.1ms) SELECT COUNT(*) FROM "banks"
18848
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
18849
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18850
+  (0.1ms) SELECT COUNT(*) FROM "banks"
18851
+  (0.4ms) DELETE FROM "banks";
18852
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
18853
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
18854
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 289375237580009 LIMIT 1
18855
+  (0.6ms) DELETE FROM "banks";
18856
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
18857
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'banks';
18858
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
18859
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18860
+  (0.1ms) begin transaction
18861
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:03 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 14:43:03 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
18862
+  (0.4ms) commit transaction
18863
+  (2.4ms) DELETE FROM "banks";
18864
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
18865
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
18866
+  (0.1ms) begin transaction
18867
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:03 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 14:43:03 UTC +00:00]]
18868
+  (0.4ms) commit transaction
18869
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
18870
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18871
+  (0.1ms) begin transaction
18872
+ SQL (0.3ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 14:43:03 UTC +00:00]]
18873
+  (0.3ms) commit transaction
18874
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18875
+  (1.3ms) DELETE FROM "banks";
18876
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
18877
+  (4.6ms) DELETE FROM sqlite_sequence where name = 'banks';
18878
+  (0.1ms) SELECT COUNT(*) FROM "banks"
18879
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
18880
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18881
+  (0.1ms) begin transaction
18882
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:04 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 14:43:04 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
18883
+  (0.4ms) commit transaction
18884
+  (0.1ms) SELECT COUNT(*) FROM "banks"
18885
+  (0.4ms) DELETE FROM "banks";
18886
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
18887
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
18888
+  (0.0ms) begin transaction
18889
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:04 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 289375237580009], ["updated_at", Sun, 09 Feb 2014 14:43:04 UTC +00:00]]
18890
+  (0.4ms) commit transaction
18891
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
18892
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18893
+  (0.4ms) DELETE FROM "banks";
18894
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
18895
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
18896
+  (0.0ms) begin transaction
18897
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:04 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 14:43:04 UTC +00:00]]
18898
+  (0.4ms) commit transaction
18899
+  (0.1ms) SELECT COUNT(*) FROM "banks"
18900
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
18901
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18902
+  (0.1ms) SELECT COUNT(*) FROM "banks"
18903
+  (0.4ms) DELETE FROM "banks";
18904
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
18905
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
18906
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650999999 LIMIT 1
18907
+  (0.7ms) DELETE FROM "banks";
18908
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
18909
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'banks';
18910
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
18911
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18912
+  (0.1ms) begin transaction
18913
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:04 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 14:43:04 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
18914
+  (0.4ms) commit transaction
18915
+  (0.5ms) DELETE FROM "banks";
18916
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
18917
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
18918
+  (0.0ms) begin transaction
18919
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:04 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 14:43:04 UTC +00:00]]
18920
+  (0.4ms) commit transaction
18921
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
18922
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18923
+  (0.1ms) begin transaction
18924
+ SQL (0.3ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 14:43:04 UTC +00:00]]
18925
+  (0.4ms) commit transaction
18926
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18927
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
18928
+  (0.6ms) DELETE FROM "banks";
18929
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
18930
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
18931
+  (0.1ms) SELECT COUNT(*) FROM "banks"
18932
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
18933
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18934
+  (0.1ms) begin transaction
18935
+ SQL (2.3ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:21 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 14:43:21 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
18936
+  (0.4ms) commit transaction
18937
+  (0.1ms) SELECT COUNT(*) FROM "banks"
18938
+  (0.5ms) DELETE FROM "banks";
18939
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
18940
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
18941
+  (0.0ms) begin transaction
18942
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:21 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 14:43:21 UTC +00:00]]
18943
+  (0.3ms) commit transaction
18944
+  (0.1ms) SELECT COUNT(*) FROM "banks"
18945
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
18946
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18947
+  (0.1ms) SELECT COUNT(*) FROM "banks"
18948
+  (0.6ms) DELETE FROM "banks";
18949
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
18950
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
18951
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650999999 LIMIT 1
18952
+  (0.6ms) DELETE FROM "banks";
18953
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
18954
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'banks';
18955
+  (0.0ms) begin transaction
18956
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:21 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 14:43:21 UTC +00:00]]
18957
+  (0.4ms) commit transaction
18958
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
18959
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18960
+  (0.1ms) begin transaction
18961
+ SQL (0.4ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 14:43:21 UTC +00:00]]
18962
+  (0.4ms) commit transaction
18963
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18964
+  (0.5ms) DELETE FROM "banks";
18965
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
18966
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
18967
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
18968
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18969
+  (0.1ms) begin transaction
18970
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:22 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 14:43:22 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
18971
+  (0.4ms) commit transaction
18972
+  (0.5ms) DELETE FROM "banks";
18973
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
18974
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
18975
+  (0.0ms) begin transaction
18976
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:22 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 289375237580009], ["updated_at", Sun, 09 Feb 2014 14:43:22 UTC +00:00]]
18977
+  (0.4ms) commit transaction
18978
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
18979
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18980
+  (0.5ms) DELETE FROM "banks";
18981
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
18982
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
18983
+  (0.1ms) SELECT COUNT(*) FROM "banks"
18984
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
18985
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18986
+  (0.1ms) begin transaction
18987
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:22 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 14:43:22 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
18988
+  (0.4ms) commit transaction
18989
+  (0.1ms) SELECT COUNT(*) FROM "banks"
18990
+  (0.4ms) DELETE FROM "banks";
18991
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
18992
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
18993
+  (0.0ms) begin transaction
18994
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:22 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 14:43:22 UTC +00:00]]
18995
+  (0.3ms) commit transaction
18996
+  (0.1ms) SELECT COUNT(*) FROM "banks"
18997
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
18998
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
18999
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19000
+  (0.4ms) DELETE FROM "banks";
19001
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19002
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19003
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 289375237580009 LIMIT 1
19004
+  (0.6ms) DELETE FROM "banks";
19005
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19006
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'banks';
19007
+  (0.1ms) begin transaction
19008
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:22 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 14:43:22 UTC +00:00]]
19009
+  (0.4ms) commit transaction
19010
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
19011
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19012
+  (0.1ms) begin transaction
19013
+ SQL (0.3ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 14:43:22 UTC +00:00]]
19014
+  (0.4ms) commit transaction
19015
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19016
+  (0.5ms) DELETE FROM "banks";
19017
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19018
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19019
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
19020
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19021
+  (0.1ms) begin transaction
19022
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:22 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 14:43:22 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
19023
+  (0.4ms) commit transaction
19024
+  (0.5ms) DELETE FROM "banks";
19025
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19026
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19027
+  (0.0ms) begin transaction
19028
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:22 UTC +00:00], ["internal_code", 450000650999999], ["licences", nil], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 14:43:22 UTC +00:00]]
19029
+  (0.3ms) commit transaction
19030
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
19031
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19032
+  (0.5ms) DELETE FROM "banks";
19033
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19034
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
19035
+  (0.0ms) begin transaction
19036
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:22 UTC +00:00], ["internal_code", 450000650999999], ["licences", nil], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 14:43:22 UTC +00:00]]
19037
+  (0.4ms) commit transaction
19038
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19039
+  (0.5ms) DELETE FROM "banks";
19040
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19041
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19042
+  (0.0ms) begin transaction
19043
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:22 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 14:43:22 UTC +00:00]]
19044
+  (0.3ms) commit transaction
19045
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19046
+  (0.1ms) begin transaction
19047
+ SQL (0.3ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 14:43:22 UTC +00:00]]
19048
+  (0.4ms) commit transaction
19049
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19050
+  (0.4ms) DELETE FROM "banks";
19051
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19052
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19053
+  (0.1ms) begin transaction
19054
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:22 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 14:43:22 UTC +00:00]]
19055
+  (0.4ms) commit transaction
19056
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19057
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19058
+  (0.1ms) begin transaction
19059
+ SQL (0.4ms) UPDATE "banks" SET "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 14:43:23 UTC +00:00]]
19060
+  (0.4ms) commit transaction
19061
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19062
+  (0.4ms) DELETE FROM "banks";
19063
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19064
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19065
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19066
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19067
+  (0.1ms) begin transaction
19068
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:23 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 14:43:23 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
19069
+  (0.4ms) commit transaction
19070
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19071
+  (0.5ms) DELETE FROM "banks";
19072
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19073
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19074
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19075
+  (0.1ms) begin transaction
19076
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:23 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 14:43:23 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
19077
+  (0.5ms) commit transaction
19078
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19079
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19080
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19081
+  (0.4ms) DELETE FROM "banks";
19082
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19083
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19084
+  (0.1ms) begin transaction
19085
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "111111111"], ["created_at", Sun, 09 Feb 2014 14:43:23 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 14:43:23 UTC +00:00]]
19086
+  (0.5ms) commit transaction
19087
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19088
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '111111111' LIMIT 1
19089
+ SQL (0.6ms) DELETE FROM "banks" WHERE "banks"."id" = 1
19090
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19091
+  (0.4ms) DELETE FROM "banks";
19092
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19093
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
19094
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19095
+  (0.1ms) begin transaction
19096
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:23 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 14:43:23 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
19097
+  (0.5ms) commit transaction
19098
+  (0.5ms) DELETE FROM "banks";
19099
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19100
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19101
+  (0.0ms) begin transaction
19102
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 14:43:23 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 14:43:23 UTC +00:00]]
19103
+  (0.4ms) commit transaction
19104
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19105
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19106
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19107
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
19108
+  (1.7ms) DELETE FROM "banks";
19109
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19110
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
19111
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
19112
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19113
+  (0.1ms) begin transaction
19114
+ SQL (2.3ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:01 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:15:01 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
19115
+  (0.5ms) commit transaction
19116
+  (0.5ms) DELETE FROM "banks";
19117
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19118
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
19119
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19120
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
19121
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19122
+  (0.1ms) begin transaction
19123
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:01 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:15:01 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
19124
+  (0.4ms) commit transaction
19125
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19126
+  (0.4ms) DELETE FROM "banks";
19127
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19128
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19129
+  (0.1ms) begin transaction
19130
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:01 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 289375237580009], ["updated_at", Sun, 09 Feb 2014 15:15:01 UTC +00:00]]
19131
+  (0.4ms) commit transaction
19132
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
19133
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19134
+  (0.5ms) DELETE FROM "banks";
19135
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19136
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19137
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650999999 LIMIT 1
19138
+  (0.6ms) DELETE FROM "banks";
19139
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19140
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'banks';
19141
+  (0.0ms) begin transaction
19142
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:01 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:15:01 UTC +00:00]]
19143
+  (0.4ms) commit transaction
19144
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19145
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
19146
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19147
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19148
+  (0.5ms) DELETE FROM "banks";
19149
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19150
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
19151
+  (0.0ms) begin transaction
19152
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:01 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:15:01 UTC +00:00]]
19153
+  (0.3ms) commit transaction
19154
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
19155
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19156
+  (0.1ms) begin transaction
19157
+ SQL (0.4ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:15:01 UTC +00:00]]
19158
+  (0.4ms) commit transaction
19159
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19160
+  (0.5ms) DELETE FROM "banks";
19161
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19162
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
19163
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19164
+  (0.1ms) begin transaction
19165
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:01 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:15:01 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
19166
+  (0.4ms) commit transaction
19167
+  (0.5ms) DELETE FROM "banks";
19168
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19169
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19170
+  (0.0ms) begin transaction
19171
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:01 UTC +00:00], ["internal_code", 450000650999999], ["licences", nil], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:15:01 UTC +00:00]]
19172
+  (0.3ms) commit transaction
19173
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19174
+  (0.5ms) DELETE FROM "banks";
19175
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19176
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
19177
+  (0.0ms) begin transaction
19178
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:01 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:15:01 UTC +00:00]]
19179
+  (0.4ms) commit transaction
19180
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19181
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19182
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19183
+  (0.4ms) DELETE FROM "banks";
19184
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19185
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
19186
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19187
+  (0.1ms) begin transaction
19188
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:02 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:15:02 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
19189
+  (0.4ms) commit transaction
19190
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19191
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19192
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19193
+  (0.4ms) DELETE FROM "banks";
19194
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19195
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19196
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19197
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19198
+  (0.1ms) begin transaction
19199
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:02 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:15:02 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
19200
+  (0.5ms) commit transaction
19201
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19202
+  (0.5ms) DELETE FROM "banks";
19203
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19204
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
19205
+  (0.0ms) begin transaction
19206
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:02 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:15:02 UTC +00:00]]
19207
+  (0.5ms) commit transaction
19208
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19209
+  (0.1ms) begin transaction
19210
+ SQL (0.5ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:15:02 UTC +00:00]]
19211
+  (0.4ms) commit transaction
19212
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19213
+  (0.6ms) DELETE FROM "banks";
19214
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19215
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
19216
+  (0.1ms) begin transaction
19217
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:02 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:15:02 UTC +00:00]]
19218
+  (0.4ms) commit transaction
19219
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19220
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19221
+  (0.1ms) begin transaction
19222
+ SQL (0.4ms) UPDATE "banks" SET "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:15:02 UTC +00:00]]
19223
+  (0.3ms) commit transaction
19224
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19225
+  (0.5ms) DELETE FROM "banks";
19226
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19227
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19228
+  (0.1ms) begin transaction
19229
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "111111111"], ["created_at", Sun, 09 Feb 2014 15:15:02 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:15:02 UTC +00:00]]
19230
+  (0.4ms) commit transaction
19231
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19232
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '111111111' LIMIT 1
19233
+ SQL (0.6ms) DELETE FROM "banks" WHERE "banks"."id" = 1
19234
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19235
+  (0.5ms) DELETE FROM "banks";
19236
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19237
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19238
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
19239
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19240
+  (0.1ms) begin transaction
19241
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:03 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:15:03 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
19242
+  (0.4ms) commit transaction
19243
+  (0.5ms) DELETE FROM "banks";
19244
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19245
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19246
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19247
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
19248
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19249
+  (0.1ms) begin transaction
19250
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:03 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:15:03 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
19251
+  (0.5ms) commit transaction
19252
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19253
+  (0.4ms) DELETE FROM "banks";
19254
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19255
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19256
+  (0.1ms) begin transaction
19257
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:03 UTC +00:00], ["internal_code", 450000650999999], ["licences", nil], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:15:03 UTC +00:00]]
19258
+  (0.4ms) commit transaction
19259
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
19260
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19261
+  (0.4ms) DELETE FROM "banks";
19262
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19263
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
19264
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 289375237580009 LIMIT 1
19265
+  (0.6ms) DELETE FROM "banks";
19266
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19267
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'banks';
19268
+  (0.0ms) begin transaction
19269
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:04 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:15:04 UTC +00:00]]
19270
+  (0.4ms) commit transaction
19271
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19272
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
19273
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19274
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19275
+  (0.4ms) DELETE FROM "banks";
19276
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19277
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19278
+  (0.0ms) begin transaction
19279
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:04 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:15:04 UTC +00:00]]
19280
+  (0.4ms) commit transaction
19281
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
19282
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19283
+  (0.1ms) begin transaction
19284
+ SQL (0.3ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:15:04 UTC +00:00]]
19285
+  (0.4ms) commit transaction
19286
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19287
+  (0.5ms) DELETE FROM "banks";
19288
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19289
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19290
+  (0.0ms) begin transaction
19291
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:04 UTC +00:00], ["internal_code", 450000650], ["licences", "--- []\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:15:04 UTC +00:00]]
19292
+  (0.3ms) commit transaction
19293
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
19294
+  (0.6ms) DELETE FROM "banks";
19295
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19296
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19297
+  (0.1ms) begin transaction
19298
+ SQL (2.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:52 UTC +00:00], ["internal_code", 450000650], ["licences", "--- []\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:15:52 UTC +00:00]]
19299
+  (0.4ms) commit transaction
19300
+  (0.5ms) DELETE FROM "banks";
19301
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19302
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19303
+  (0.0ms) begin transaction
19304
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "111111111"], ["created_at", Sun, 09 Feb 2014 15:15:52 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:15:52 UTC +00:00]]
19305
+  (0.4ms) commit transaction
19306
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19307
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '111111111' LIMIT 1
19308
+ SQL (0.7ms) DELETE FROM "banks" WHERE "banks"."id" = 1
19309
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19310
+  (0.5ms) DELETE FROM "banks";
19311
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19312
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19313
+  (0.0ms) begin transaction
19314
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:53 UTC +00:00], ["internal_code", 450000650999999], ["licences", nil], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:15:53 UTC +00:00]]
19315
+  (0.4ms) commit transaction
19316
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19317
+  (0.5ms) DELETE FROM "banks";
19318
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19319
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
19320
+  (0.0ms) begin transaction
19321
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:53 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:15:53 UTC +00:00]]
19322
+  (0.4ms) commit transaction
19323
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19324
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19325
+  (0.1ms) begin transaction
19326
+ SQL (0.4ms) UPDATE "banks" SET "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:15:53 UTC +00:00]]
19327
+  (0.4ms) commit transaction
19328
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19329
+  (0.5ms) DELETE FROM "banks";
19330
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19331
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
19332
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19333
+  (0.1ms) begin transaction
19334
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:53 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:15:53 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
19335
+  (0.4ms) commit transaction
19336
+  (0.5ms) DELETE FROM "banks";
19337
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19338
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19339
+  (0.0ms) begin transaction
19340
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:53 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:15:53 UTC +00:00]]
19341
+  (0.4ms) commit transaction
19342
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19343
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19344
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19345
+  (0.5ms) DELETE FROM "banks";
19346
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19347
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
19348
+  (0.0ms) begin transaction
19349
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:53 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:15:53 UTC +00:00]]
19350
+  (0.4ms) commit transaction
19351
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19352
+  (0.1ms) begin transaction
19353
+ SQL (0.4ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:15:54 UTC +00:00]]
19354
+  (0.4ms) commit transaction
19355
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19356
+  (0.5ms) DELETE FROM "banks";
19357
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19358
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19359
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19360
+  (0.1ms) begin transaction
19361
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:54 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:15:54 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
19362
+  (0.5ms) commit transaction
19363
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19364
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19365
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19366
+  (0.5ms) DELETE FROM "banks";
19367
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19368
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19369
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19370
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19371
+  (0.1ms) begin transaction
19372
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:54 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:15:54 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
19373
+  (0.4ms) commit transaction
19374
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19375
+  (0.4ms) DELETE FROM "banks";
19376
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19377
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19378
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19379
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
19380
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19381
+  (0.1ms) begin transaction
19382
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:55 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:15:55 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
19383
+  (0.3ms) commit transaction
19384
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19385
+  (0.4ms) DELETE FROM "banks";
19386
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19387
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19388
+  (0.0ms) begin transaction
19389
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:55 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:15:55 UTC +00:00]]
19390
+  (0.3ms) commit transaction
19391
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
19392
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19393
+  (0.1ms) begin transaction
19394
+ SQL (0.4ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:15:56 UTC +00:00]]
19395
+  (0.4ms) commit transaction
19396
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19397
+  (0.4ms) DELETE FROM "banks";
19398
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19399
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19400
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
19401
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19402
+  (0.1ms) begin transaction
19403
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:56 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:15:56 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
19404
+  (0.4ms) commit transaction
19405
+  (0.4ms) DELETE FROM "banks";
19406
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19407
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19408
+  (0.0ms) begin transaction
19409
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:56 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 289375237580009], ["updated_at", Sun, 09 Feb 2014 15:15:56 UTC +00:00]]
19410
+  (0.4ms) commit transaction
19411
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
19412
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19413
+  (0.5ms) DELETE FROM "banks";
19414
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19415
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19416
+  (0.0ms) begin transaction
19417
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:56 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:15:56 UTC +00:00]]
19418
+  (0.4ms) commit transaction
19419
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19420
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
19421
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19422
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19423
+  (0.5ms) DELETE FROM "banks";
19424
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19425
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19426
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650999999 LIMIT 1
19427
+  (0.6ms) DELETE FROM "banks";
19428
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19429
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'banks';
19430
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19431
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
19432
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19433
+  (0.1ms) begin transaction
19434
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:56 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:15:56 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
19435
+  (0.4ms) commit transaction
19436
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19437
+  (0.5ms) DELETE FROM "banks";
19438
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19439
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19440
+  (0.0ms) begin transaction
19441
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:56 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:15:56 UTC +00:00]]
19442
+  (0.3ms) commit transaction
19443
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
19444
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19445
+  (0.1ms) begin transaction
19446
+ SQL (0.3ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:15:57 UTC +00:00]]
19447
+  (0.4ms) commit transaction
19448
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19449
+  (0.5ms) DELETE FROM "banks";
19450
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19451
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19452
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
19453
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19454
+  (0.1ms) begin transaction
19455
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:57 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:15:57 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
19456
+  (0.4ms) commit transaction
19457
+  (0.5ms) DELETE FROM "banks";
19458
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19459
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19460
+  (0.0ms) begin transaction
19461
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:57 UTC +00:00], ["internal_code", 450000650999999], ["licences", nil], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:15:57 UTC +00:00]]
19462
+  (0.3ms) commit transaction
19463
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
19464
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19465
+  (0.4ms) DELETE FROM "banks";
19466
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19467
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19468
+  (0.0ms) begin transaction
19469
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:15:57 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:15:57 UTC +00:00]]
19470
+  (0.3ms) commit transaction
19471
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19472
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
19473
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19474
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19475
+  (0.5ms) DELETE FROM "banks";
19476
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19477
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19478
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 289375237580009 LIMIT 1
19479
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
19480
+  (0.7ms) DELETE FROM "banks";
19481
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19482
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'banks';
19483
+  (0.1ms) begin transaction
19484
+ SQL (2.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:17:04 UTC +00:00], ["internal_code", 450000650], ["licences", "--- []\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:17:04 UTC +00:00]]
19485
+  (0.8ms) commit transaction
19486
+  (0.5ms) DELETE FROM "banks";
19487
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19488
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19489
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 289375237580009 LIMIT 1
19490
+  (0.6ms) DELETE FROM "banks";
19491
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19492
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'banks';
19493
+  (0.1ms) begin transaction
19494
+ SQL (0.5ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:17:04 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:17:04 UTC +00:00]]
19495
+  (0.4ms) commit transaction
19496
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
19497
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19498
+  (0.1ms) begin transaction
19499
+ SQL (0.4ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:17:04 UTC +00:00]]
19500
+  (0.4ms) commit transaction
19501
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19502
+  (0.4ms) DELETE FROM "banks";
19503
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19504
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19505
+  (0.0ms) begin transaction
19506
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:17:04 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:17:04 UTC +00:00]]
19507
+  (0.3ms) commit transaction
19508
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19509
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
19510
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19511
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19512
+  (0.6ms) DELETE FROM "banks";
19513
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19514
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
19515
+  (0.1ms) begin transaction
19516
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:17:04 UTC +00:00], ["internal_code", 450000650999999], ["licences", nil], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:17:04 UTC +00:00]]
19517
+  (0.4ms) commit transaction
19518
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
19519
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19520
+  (0.4ms) DELETE FROM "banks";
19521
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19522
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19523
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19524
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
19525
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19526
+  (0.1ms) begin transaction
19527
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:17:05 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:17:05 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
19528
+  (0.4ms) commit transaction
19529
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19530
+  (0.5ms) DELETE FROM "banks";
19531
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19532
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19533
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
19534
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19535
+  (0.1ms) begin transaction
19536
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:17:05 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:17:05 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
19537
+  (0.4ms) commit transaction
19538
+  (0.4ms) DELETE FROM "banks";
19539
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19540
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19541
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650999999 LIMIT 1
19542
+  (0.6ms) DELETE FROM "banks";
19543
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19544
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'banks';
19545
+  (0.0ms) begin transaction
19546
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:17:05 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:17:05 UTC +00:00]]
19547
+  (0.4ms) commit transaction
19548
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
19549
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19550
+  (0.1ms) begin transaction
19551
+ SQL (0.3ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:17:05 UTC +00:00]]
19552
+  (0.4ms) commit transaction
19553
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19554
+  (0.5ms) DELETE FROM "banks";
19555
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19556
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
19557
+  (0.0ms) begin transaction
19558
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:17:05 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:17:05 UTC +00:00]]
19559
+  (0.4ms) commit transaction
19560
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19561
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
19562
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19563
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19564
+  (0.4ms) DELETE FROM "banks";
19565
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19566
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19567
+  (0.1ms) begin transaction
19568
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:17:05 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 289375237580009], ["updated_at", Sun, 09 Feb 2014 15:17:05 UTC +00:00]]
19569
+  (0.3ms) commit transaction
19570
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
19571
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19572
+  (0.4ms) DELETE FROM "banks";
19573
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19574
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19575
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19576
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
19577
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19578
+  (0.1ms) begin transaction
19579
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:17:07 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:17:07 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
19580
+  (0.5ms) commit transaction
19581
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19582
+  (0.5ms) DELETE FROM "banks";
19583
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19584
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
19585
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
19586
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19587
+  (0.1ms) begin transaction
19588
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:17:07 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:17:07 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
19589
+  (0.4ms) commit transaction
19590
+  (0.4ms) DELETE FROM "banks";
19591
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19592
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19593
+  (0.0ms) begin transaction
19594
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:17:07 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:17:07 UTC +00:00]]
19595
+  (0.4ms) commit transaction
19596
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19597
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19598
+  (0.1ms) begin transaction
19599
+ SQL (0.4ms) UPDATE "banks" SET "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:17:07 UTC +00:00]]
19600
+  (0.4ms) commit transaction
19601
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19602
+  (0.5ms) DELETE FROM "banks";
19603
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19604
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19605
+  (0.0ms) begin transaction
19606
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "111111111"], ["created_at", Sun, 09 Feb 2014 15:17:07 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:17:07 UTC +00:00]]
19607
+  (0.4ms) commit transaction
19608
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19609
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '111111111' LIMIT 1
19610
+ SQL (0.6ms) DELETE FROM "banks" WHERE "banks"."id" = 1
19611
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19612
+  (0.5ms) DELETE FROM "banks";
19613
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19614
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19615
+  (0.0ms) begin transaction
19616
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:17:07 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:17:07 UTC +00:00]]
19617
+  (0.4ms) commit transaction
19618
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19619
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19620
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19621
+  (0.5ms) DELETE FROM "banks";
19622
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19623
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19624
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19625
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19626
+  (0.1ms) begin transaction
19627
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:17:08 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:17:08 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
19628
+  (0.5ms) commit transaction
19629
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19630
+  (0.4ms) DELETE FROM "banks";
19631
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19632
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19633
+  (0.0ms) begin transaction
19634
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:17:08 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:17:08 UTC +00:00]]
19635
+  (0.4ms) commit transaction
19636
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19637
+  (0.1ms) begin transaction
19638
+ SQL (0.3ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:17:08 UTC +00:00]]
19639
+  (0.4ms) commit transaction
19640
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19641
+  (0.5ms) DELETE FROM "banks";
19642
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19643
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19644
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19645
+  (0.1ms) begin transaction
19646
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:17:08 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:17:08 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
19647
+  (0.5ms) commit transaction
19648
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19649
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19650
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19651
+  (0.5ms) DELETE FROM "banks";
19652
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19653
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19654
+  (0.0ms) begin transaction
19655
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:17:08 UTC +00:00], ["internal_code", 450000650999999], ["licences", nil], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:17:08 UTC +00:00]]
19656
+  (0.4ms) commit transaction
19657
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19658
+  (0.5ms) DELETE FROM "banks";
19659
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19660
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
19661
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19662
+  (0.1ms) begin transaction
19663
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:17:08 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:17:08 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
19664
+  (0.5ms) commit transaction
19665
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
19666
+  (0.6ms) DELETE FROM "banks";
19667
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19668
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
19669
+  (0.1ms) begin transaction
19670
+ SQL (2.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:18:41 UTC +00:00], ["internal_code", 450000650], ["licences", "--- []\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:18:41 UTC +00:00]]
19671
+  (0.4ms) commit transaction
19672
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
19673
+  (0.5ms) DELETE FROM "banks";
19674
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19675
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
19676
+  (0.1ms) begin transaction
19677
+ SQL (2.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:19:08 UTC +00:00], ["internal_code", 450000650], ["licences", "--- []\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:19:08 UTC +00:00]]
19678
+  (0.3ms) commit transaction
19679
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
19680
+  (0.6ms) DELETE FROM "banks";
19681
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19682
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
19683
+  (0.1ms) begin transaction
19684
+ SQL (2.1ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:20:35 UTC +00:00], ["internal_code", 450000650], ["licences", "--- []\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:20:35 UTC +00:00]]
19685
+  (0.5ms) commit transaction
19686
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
19687
+  (12.4ms) DELETE FROM "banks";
19688
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19689
+  (6.7ms) DELETE FROM sqlite_sequence where name = 'banks';
19690
+  (0.1ms) begin transaction
19691
+ SQL (2.1ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:21:01 UTC +00:00], ["internal_code", 450000650], ["licences", "--- []\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:21:01 UTC +00:00]]
19692
+  (0.5ms) commit transaction
19693
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
19694
+  (0.6ms) DELETE FROM "banks";
19695
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19696
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19697
+  (0.1ms) begin transaction
19698
+ SQL (2.0ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:21:05 UTC +00:00], ["internal_code", 450000650], ["licences", "--- []\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:21:05 UTC +00:00]]
19699
+  (0.4ms) commit transaction
19700
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
19701
+  (0.6ms) DELETE FROM "banks";
19702
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19703
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
19704
+  (0.1ms) begin transaction
19705
+ SQL (2.0ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:27:57 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '3'\n :lt: Лицензия на привлечение во вклады и размещение драгоценных металлов\n :l_date: '2007-12-20T00:00:00+04:00'\n- :l_code: '7'\n :lt: Генеральная лицензия на осуществление банковских операций\n :l_date: '2012-03-23T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:27:57 UTC +00:00]]
19706
+  (0.5ms) commit transaction
19707
+  (0.5ms) DELETE FROM "banks";
19708
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19709
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19710
+  (0.0ms) begin transaction
19711
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:27:57 UTC +00:00], ["internal_code", 450000650], ["licences", "--- []\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:27:57 UTC +00:00]]
19712
+  (0.4ms) commit transaction
19713
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
19714
+  (0.6ms) DELETE FROM "banks";
19715
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19716
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19717
+  (0.1ms) begin transaction
19718
+ SQL (2.0ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:28:06 UTC +00:00], ["internal_code", 450000650], ["licences", "--- []\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:28:06 UTC +00:00]]
19719
+  (0.5ms) commit transaction
19720
+  (0.5ms) DELETE FROM "banks";
19721
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19722
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19723
+  (0.0ms) begin transaction
19724
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:28:06 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '3'\n :lt: Лицензия на привлечение во вклады и размещение драгоценных металлов\n :l_date: '2007-12-20T00:00:00+04:00'\n- :l_code: '7'\n :lt: Генеральная лицензия на осуществление банковских операций\n :l_date: '2012-03-23T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:28:06 UTC +00:00]]
19725
+  (0.3ms) commit transaction
19726
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
19727
+  (0.7ms) DELETE FROM "banks";
19728
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19729
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19730
+  (0.1ms) begin transaction
19731
+ SQL (2.1ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:29:30 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '3'\n :lt: Лицензия на привлечение во вклады и размещение драгоценных металлов\n :l_date: '2007-12-20T00:00:00+04:00'\n- :l_code: '7'\n :lt: Генеральная лицензия на осуществление банковских операций\n :l_date: '2012-03-23T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:29:30 UTC +00:00]]
19732
+  (0.5ms) commit transaction
19733
+  (0.5ms) DELETE FROM "banks";
19734
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19735
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19736
+  (0.1ms) begin transaction
19737
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:29:30 UTC +00:00], ["internal_code", 450000650], ["licences", "--- []\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:29:30 UTC +00:00]]
19738
+  (0.3ms) commit transaction
19739
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
19740
+  (0.6ms) DELETE FROM "banks";
19741
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19742
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
19743
+  (0.1ms) begin transaction
19744
+  (0.0ms) rollback transaction
19745
+  (0.5ms) DELETE FROM "banks";
19746
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19747
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'banks';
19748
+  (0.0ms) begin transaction
19749
+ SQL (2.0ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:31:58 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '3'\n :lt: Лицензия на привлечение во вклады и размещение драгоценных металлов\n :l_date: '2007-12-20T00:00:00+04:00'\n- :l_code: '7'\n :lt: Генеральная лицензия на осуществление банковских операций\n :l_date: '2012-03-23T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:31:58 UTC +00:00]]
19750
+  (0.4ms) commit transaction
19751
+  (0.5ms) DELETE FROM "banks";
19752
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19753
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19754
+  (0.0ms) begin transaction
19755
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:31:58 UTC +00:00], ["internal_code", 450000650], ["licences", "--- []\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:31:58 UTC +00:00]]
19756
+  (0.4ms) commit transaction
19757
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
19758
+  (0.7ms) DELETE FROM "banks";
19759
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19760
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
19761
+  (0.1ms) begin transaction
19762
+ SQL (2.1ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:32:29 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '3'\n :lt: Лицензия на привлечение во вклады и размещение драгоценных металлов\n :l_date: '2007-12-20T00:00:00+04:00'\n- :l_code: '7'\n :lt: Генеральная лицензия на осуществление банковских операций\n :l_date: '2012-03-23T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:32:29 UTC +00:00]]
19763
+  (0.4ms) commit transaction
19764
+  (0.4ms) DELETE FROM "banks";
19765
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19766
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19767
+  (0.1ms) begin transaction
19768
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:32:29 UTC +00:00], ["internal_code", 450000650], ["licences", "--- []\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:32:29 UTC +00:00]]
19769
+  (0.3ms) commit transaction
19770
+  (0.4ms) DELETE FROM "banks";
19771
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19772
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19773
+  (0.1ms) begin transaction
19774
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:32:29 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '7'\n :lt: Генеральная лицензия на осуществление банковских операций\n :l_date: '2012-09-10T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:32:29 UTC +00:00]]
19775
+  (0.4ms) commit transaction
19776
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
19777
+  (0.6ms) DELETE FROM "banks";
19778
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19779
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
19780
+  (0.1ms) begin transaction
19781
+ SQL (2.1ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:32:31 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '7'\n :lt: Генеральная лицензия на осуществление банковских операций\n :l_date: '2012-09-10T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:32:31 UTC +00:00]]
19782
+  (0.5ms) commit transaction
19783
+  (0.5ms) DELETE FROM "banks";
19784
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19785
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19786
+  (0.0ms) begin transaction
19787
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:32:31 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '3'\n :lt: Лицензия на привлечение во вклады и размещение драгоценных металлов\n :l_date: '2007-12-20T00:00:00+04:00'\n- :l_code: '7'\n :lt: Генеральная лицензия на осуществление банковских операций\n :l_date: '2012-03-23T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:32:31 UTC +00:00]]
19788
+  (0.4ms) commit transaction
19789
+  (0.5ms) DELETE FROM "banks";
19790
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19791
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19792
+  (0.0ms) begin transaction
19793
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:32:31 UTC +00:00], ["internal_code", 450000650], ["licences", "--- []\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:32:31 UTC +00:00]]
19794
+  (0.4ms) commit transaction
19795
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
19796
+  (475.5ms) DELETE FROM "banks";
19797
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19798
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19799
+  (0.1ms) begin transaction
19800
+ SQL (2.0ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:32:39 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '3'\n :lt: Лицензия на привлечение во вклады и размещение драгоценных металлов\n :l_date: '2007-12-20T00:00:00+04:00'\n- :l_code: '7'\n :lt: Генеральная лицензия на осуществление банковских операций\n :l_date: '2012-03-23T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:32:39 UTC +00:00]]
19801
+  (0.4ms) commit transaction
19802
+  (0.5ms) DELETE FROM "banks";
19803
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19804
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
19805
+  (0.1ms) begin transaction
19806
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:32:39 UTC +00:00], ["internal_code", 450000650], ["licences", "--- []\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:32:39 UTC +00:00]]
19807
+  (0.3ms) commit transaction
19808
+  (0.4ms) DELETE FROM "banks";
19809
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19810
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19811
+  (0.0ms) begin transaction
19812
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:32:39 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '7'\n :lt: Генеральная лицензия на осуществление банковских операций\n :l_date: '2012-09-10T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:32:39 UTC +00:00]]
19813
+  (0.3ms) commit transaction
19814
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
19815
+  (0.6ms) DELETE FROM "banks";
19816
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19817
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
19818
+  (0.1ms) begin transaction
19819
+ SQL (2.1ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:32:45 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '7'\n :lt: Генеральная лицензия на осуществление банковских операций\n :l_date: '2012-09-10T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:32:45 UTC +00:00]]
19820
+  (0.5ms) commit transaction
19821
+  (0.5ms) DELETE FROM "banks";
19822
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19823
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19824
+  (0.0ms) begin transaction
19825
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:32:45 UTC +00:00], ["internal_code", 450000650], ["licences", "--- []\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:32:45 UTC +00:00]]
19826
+  (0.4ms) commit transaction
19827
+  (0.4ms) DELETE FROM "banks";
19828
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19829
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19830
+  (0.0ms) begin transaction
19831
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:32:45 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '3'\n :lt: Лицензия на привлечение во вклады и размещение драгоценных металлов\n :l_date: '2007-12-20T00:00:00+04:00'\n- :l_code: '7'\n :lt: Генеральная лицензия на осуществление банковских операций\n :l_date: '2012-03-23T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:32:45 UTC +00:00]]
19832
+  (0.4ms) commit transaction
19833
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
19834
+  (2.9ms) DELETE FROM "banks";
19835
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19836
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
19837
+  (0.1ms) begin transaction
19838
+ SQL (2.1ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:33:07 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '3'\n :lt: Лицензия на привлечение во вклады и размещение драгоценных металлов\n :l_date: '2007-12-20T00:00:00+04:00'\n- :l_code: '7'\n :lt: Генеральная лицензия на осуществление банковских операций\n :l_date: '2012-03-23T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:33:07 UTC +00:00]]
19839
+  (0.5ms) commit transaction
19840
+  (0.5ms) DELETE FROM "banks";
19841
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19842
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19843
+  (0.0ms) begin transaction
19844
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:33:07 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '7'\n :lt: Генеральная лицензия на осуществление банковских операций\n :l_date: '2012-09-10T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:33:07 UTC +00:00]]
19845
+  (0.4ms) commit transaction
19846
+  (0.5ms) DELETE FROM "banks";
19847
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19848
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
19849
+  (0.1ms) begin transaction
19850
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:33:07 UTC +00:00], ["internal_code", 450000650], ["licences", "--- []\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:33:07 UTC +00:00]]
19851
+  (0.4ms) commit transaction
19852
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
19853
+  (0.6ms) DELETE FROM "banks";
19854
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19855
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19856
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19857
+  (0.1ms) begin transaction
19858
+ SQL (2.1ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:28 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:34:28 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
19859
+  (0.5ms) commit transaction
19860
+  (0.5ms) DELETE FROM "banks";
19861
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19862
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19863
+  (0.0ms) begin transaction
19864
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:28 UTC +00:00], ["internal_code", 450000650999999], ["licences", nil], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:34:28 UTC +00:00]]
19865
+  (0.4ms) commit transaction
19866
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19867
+  (0.5ms) DELETE FROM "banks";
19868
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19869
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19870
+  (0.0ms) begin transaction
19871
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "111111111"], ["created_at", Sun, 09 Feb 2014 15:34:28 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:34:28 UTC +00:00]]
19872
+  (0.4ms) commit transaction
19873
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19874
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '111111111' LIMIT 1
19875
+ SQL (0.6ms) DELETE FROM "banks" WHERE "banks"."id" = 1
19876
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19877
+  (0.4ms) DELETE FROM "banks";
19878
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19879
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19880
+  (0.1ms) begin transaction
19881
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:28 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:34:28 UTC +00:00]]
19882
+  (0.5ms) commit transaction
19883
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19884
+  (0.1ms) begin transaction
19885
+ SQL (0.4ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:34:28 UTC +00:00]]
19886
+  (0.4ms) commit transaction
19887
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19888
+  (0.5ms) DELETE FROM "banks";
19889
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19890
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19891
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19892
+  (0.1ms) begin transaction
19893
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:28 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:34:28 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
19894
+  (0.5ms) commit transaction
19895
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19896
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19897
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19898
+  (0.5ms) DELETE FROM "banks";
19899
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19900
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19901
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19902
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19903
+  (0.1ms) begin transaction
19904
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:28 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:34:28 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
19905
+  (0.4ms) commit transaction
19906
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19907
+  (0.5ms) DELETE FROM "banks";
19908
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19909
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19910
+  (0.0ms) begin transaction
19911
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:28 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:34:28 UTC +00:00]]
19912
+  (0.4ms) commit transaction
19913
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19914
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19915
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19916
+  (0.5ms) DELETE FROM "banks";
19917
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19918
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
19919
+  (0.1ms) begin transaction
19920
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:28 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:34:28 UTC +00:00]]
19921
+  (0.5ms) commit transaction
19922
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19923
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19924
+  (0.1ms) begin transaction
19925
+ SQL (0.4ms) UPDATE "banks" SET "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:34:29 UTC +00:00]]
19926
+  (0.4ms) commit transaction
19927
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19928
+  (0.5ms) DELETE FROM "banks";
19929
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19930
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19931
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
19932
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19933
+  (0.1ms) begin transaction
19934
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:29 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:34:29 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
19935
+  (0.5ms) commit transaction
19936
+  (0.5ms) DELETE FROM "banks";
19937
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19938
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19939
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19940
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
19941
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19942
+  (0.1ms) begin transaction
19943
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:29 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:34:29 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
19944
+  (0.5ms) commit transaction
19945
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19946
+  (0.5ms) DELETE FROM "banks";
19947
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19948
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19949
+  (0.0ms) begin transaction
19950
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:29 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:34:29 UTC +00:00]]
19951
+  (0.3ms) commit transaction
19952
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19953
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
19954
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19955
+  (0.1ms) SELECT COUNT(*) FROM "banks"
19956
+  (0.5ms) DELETE FROM "banks";
19957
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19958
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19959
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650999999 LIMIT 1
19960
+  (0.7ms) DELETE FROM "banks";
19961
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19962
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'banks';
19963
+  (0.0ms) begin transaction
19964
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:29 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 289375237580009], ["updated_at", Sun, 09 Feb 2014 15:34:29 UTC +00:00]]
19965
+  (0.4ms) commit transaction
19966
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
19967
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19968
+  (0.5ms) DELETE FROM "banks";
19969
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19970
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
19971
+  (0.0ms) begin transaction
19972
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:29 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:34:29 UTC +00:00]]
19973
+  (0.4ms) commit transaction
19974
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
19975
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19976
+  (0.1ms) begin transaction
19977
+ SQL (0.3ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:34:29 UTC +00:00]]
19978
+  (0.4ms) commit transaction
19979
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
19980
+  (0.5ms) DELETE FROM "banks";
19981
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19982
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19983
+  (0.0ms) begin transaction
19984
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:29 UTC +00:00], ["internal_code", 450000650], ["licences", "--- []\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:34:29 UTC +00:00]]
19985
+  (0.4ms) commit transaction
19986
+  (0.5ms) DELETE FROM "banks";
19987
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19988
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19989
+  (0.0ms) begin transaction
19990
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:29 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '3'\n :lt: Лицензия 2\n :l_date: '2007-12-20T00:00:00+04:00'\n- :l_code: '7'\n :lt: Лицензия 3\n :l_date: '2012-03-23T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:34:29 UTC +00:00]]
19991
+  (0.4ms) commit transaction
19992
+  (0.5ms) DELETE FROM "banks";
19993
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
19994
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
19995
+  (0.1ms) begin transaction
19996
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:29 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '7'\n :lt: Лицензия 1\n :l_date: '2012-09-10T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:34:29 UTC +00:00]]
19997
+  (0.4ms) commit transaction
19998
+  (0.4ms) DELETE FROM "banks";
19999
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20000
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20001
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
20002
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20003
+  (0.1ms) begin transaction
20004
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:30 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:34:30 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20005
+  (0.5ms) commit transaction
20006
+  (0.4ms) DELETE FROM "banks";
20007
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20008
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20009
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20010
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
20011
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20012
+  (0.1ms) begin transaction
20013
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:30 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:34:30 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20014
+  (0.4ms) commit transaction
20015
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20016
+  (0.4ms) DELETE FROM "banks";
20017
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20018
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20019
+  (0.0ms) begin transaction
20020
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:30 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:34:30 UTC +00:00]]
20021
+  (0.3ms) commit transaction
20022
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20023
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
20024
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20025
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20026
+  (0.5ms) DELETE FROM "banks";
20027
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20028
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20029
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 289375237580009 LIMIT 1
20030
+  (0.6ms) DELETE FROM "banks";
20031
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20032
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'banks';
20033
+  (0.0ms) begin transaction
20034
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:30 UTC +00:00], ["internal_code", 450000650999999], ["licences", nil], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:34:30 UTC +00:00]]
20035
+  (0.4ms) commit transaction
20036
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
20037
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20038
+  (0.4ms) DELETE FROM "banks";
20039
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20040
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
20041
+  (0.0ms) begin transaction
20042
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:30 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:34:30 UTC +00:00]]
20043
+  (0.4ms) commit transaction
20044
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
20045
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20046
+  (0.1ms) begin transaction
20047
+ SQL (0.3ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:34:30 UTC +00:00]]
20048
+  (0.4ms) commit transaction
20049
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20050
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
20051
+  (0.7ms) DELETE FROM "banks";
20052
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20053
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
20054
+  (0.1ms) begin transaction
20055
+ SQL (2.1ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:33 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:34:33 UTC +00:00]]
20056
+  (0.5ms) commit transaction
20057
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20058
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
20059
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20060
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20061
+  (0.5ms) DELETE FROM "banks";
20062
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20063
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
20064
+  (0.1ms) begin transaction
20065
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:33 UTC +00:00], ["internal_code", 450000650999999], ["licences", nil], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:34:33 UTC +00:00]]
20066
+  (0.5ms) commit transaction
20067
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
20068
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20069
+  (0.5ms) DELETE FROM "banks";
20070
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20071
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20072
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 289375237580009 LIMIT 1
20073
+  (0.5ms) DELETE FROM "banks";
20074
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20075
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'banks';
20076
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20077
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
20078
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20079
+  (0.1ms) begin transaction
20080
+ SQL (0.7ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:33 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:34:33 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20081
+  (4.1ms) commit transaction
20082
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20083
+  (0.4ms) DELETE FROM "banks";
20084
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20085
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20086
+  (0.0ms) begin transaction
20087
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:33 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:34:33 UTC +00:00]]
20088
+  (0.4ms) commit transaction
20089
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
20090
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20091
+  (0.1ms) begin transaction
20092
+ SQL (0.4ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:34:33 UTC +00:00]]
20093
+  (0.5ms) commit transaction
20094
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20095
+  (0.5ms) DELETE FROM "banks";
20096
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20097
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20098
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
20099
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20100
+  (0.1ms) begin transaction
20101
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:34 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:34:34 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20102
+  (0.5ms) commit transaction
20103
+  (0.5ms) DELETE FROM "banks";
20104
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20105
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20106
+  (0.0ms) begin transaction
20107
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:34 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:34:34 UTC +00:00]]
20108
+  (0.4ms) commit transaction
20109
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20110
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
20111
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20112
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20113
+  (0.5ms) DELETE FROM "banks";
20114
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20115
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20116
+  (0.0ms) begin transaction
20117
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:34 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 289375237580009], ["updated_at", Sun, 09 Feb 2014 15:34:34 UTC +00:00]]
20118
+  (0.3ms) commit transaction
20119
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
20120
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20121
+  (0.5ms) DELETE FROM "banks";
20122
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20123
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20124
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650999999 LIMIT 1
20125
+  (0.6ms) DELETE FROM "banks";
20126
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20127
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'banks';
20128
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20129
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
20130
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20131
+  (0.1ms) begin transaction
20132
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:34 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:34:34 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20133
+  (0.5ms) commit transaction
20134
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20135
+  (0.5ms) DELETE FROM "banks";
20136
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20137
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20138
+  (0.0ms) begin transaction
20139
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:34 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:34:34 UTC +00:00]]
20140
+  (0.3ms) commit transaction
20141
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
20142
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20143
+  (0.1ms) begin transaction
20144
+ SQL (0.4ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:34:34 UTC +00:00]]
20145
+  (0.4ms) commit transaction
20146
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20147
+  (0.5ms) DELETE FROM "banks";
20148
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20149
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20150
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
20151
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20152
+  (0.1ms) begin transaction
20153
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:34 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:34:34 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20154
+  (0.4ms) commit transaction
20155
+  (0.4ms) DELETE FROM "banks";
20156
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20157
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20158
+  (0.0ms) begin transaction
20159
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:34 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '7'\n :lt: Лицензия 1\n :l_date: '2012-09-10T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:34:34 UTC +00:00]]
20160
+  (0.4ms) commit transaction
20161
+  (0.4ms) DELETE FROM "banks";
20162
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20163
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20164
+  (0.1ms) begin transaction
20165
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:34 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '3'\n :lt: Лицензия 2\n :l_date: '2007-12-20T00:00:00+04:00'\n- :l_code: '7'\n :lt: Лицензия 3\n :l_date: '2012-03-23T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:34:34 UTC +00:00]]
20166
+  (0.4ms) commit transaction
20167
+  (0.5ms) DELETE FROM "banks";
20168
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20169
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20170
+  (0.0ms) begin transaction
20171
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:34 UTC +00:00], ["internal_code", 450000650], ["licences", "--- []\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:34:34 UTC +00:00]]
20172
+  (0.4ms) commit transaction
20173
+  (0.4ms) DELETE FROM "banks";
20174
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20175
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20176
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20177
+  (0.1ms) begin transaction
20178
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:35 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:34:35 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20179
+  (0.5ms) commit transaction
20180
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20181
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20182
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20183
+  (0.4ms) DELETE FROM "banks";
20184
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20185
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
20186
+  (0.0ms) begin transaction
20187
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:35 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:34:35 UTC +00:00]]
20188
+  (0.4ms) commit transaction
20189
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20190
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20191
+  (0.1ms) begin transaction
20192
+ SQL (0.4ms) UPDATE "banks" SET "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:34:35 UTC +00:00]]
20193
+  (0.4ms) commit transaction
20194
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20195
+  (0.5ms) DELETE FROM "banks";
20196
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20197
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20198
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20199
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20200
+  (0.1ms) begin transaction
20201
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:35 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:34:35 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20202
+  (0.5ms) commit transaction
20203
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20204
+  (0.5ms) DELETE FROM "banks";
20205
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20206
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20207
+  (0.0ms) begin transaction
20208
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:35 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:34:35 UTC +00:00]]
20209
+  (0.4ms) commit transaction
20210
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20211
+  (0.1ms) begin transaction
20212
+ SQL (0.3ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:34:35 UTC +00:00]]
20213
+  (0.5ms) commit transaction
20214
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20215
+  (0.5ms) DELETE FROM "banks";
20216
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20217
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20218
+  (0.0ms) begin transaction
20219
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:35 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:34:35 UTC +00:00]]
20220
+  (0.4ms) commit transaction
20221
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20222
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20223
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20224
+  (0.5ms) DELETE FROM "banks";
20225
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20226
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20227
+  (0.0ms) begin transaction
20228
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:35 UTC +00:00], ["internal_code", 450000650999999], ["licences", nil], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:34:35 UTC +00:00]]
20229
+  (0.3ms) commit transaction
20230
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20231
+  (0.5ms) DELETE FROM "banks";
20232
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20233
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20234
+  (0.0ms) begin transaction
20235
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "111111111"], ["created_at", Sun, 09 Feb 2014 15:34:35 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:34:35 UTC +00:00]]
20236
+  (0.3ms) commit transaction
20237
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20238
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '111111111' LIMIT 1
20239
+ SQL (0.6ms) DELETE FROM "banks" WHERE "banks"."id" = 1
20240
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20241
+  (0.4ms) DELETE FROM "banks";
20242
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20243
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20244
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20245
+  (0.1ms) begin transaction
20246
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:34:35 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:34:35 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20247
+  (0.5ms) commit transaction
20248
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
20249
+  (3.1ms) DELETE FROM "banks";
20250
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20251
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
20252
+  (0.1ms) begin transaction
20253
+ SQL (2.1ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:18 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:38:18 UTC +00:00]]
20254
+  (0.5ms) commit transaction
20255
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20256
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
20257
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20258
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20259
+  (0.5ms) DELETE FROM "banks";
20260
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20261
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20262
+  (0.1ms) begin transaction
20263
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:18 UTC +00:00], ["internal_code", 450000650999999], ["licences", nil], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:38:18 UTC +00:00]]
20264
+  (0.4ms) commit transaction
20265
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
20266
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20267
+  (0.4ms) DELETE FROM "banks";
20268
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20269
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
20270
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 289375237580009 LIMIT 1
20271
+  (0.6ms) DELETE FROM "banks";
20272
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20273
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'banks';
20274
+  (0.0ms) begin transaction
20275
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:18 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:38:18 UTC +00:00]]
20276
+  (0.4ms) commit transaction
20277
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
20278
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20279
+  (0.1ms) begin transaction
20280
+ SQL (0.4ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:38:18 UTC +00:00]]
20281
+  (0.5ms) commit transaction
20282
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20283
+  (0.5ms) DELETE FROM "banks";
20284
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20285
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20286
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
20287
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20288
+  (0.1ms) begin transaction
20289
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:18 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:38:18 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20290
+  (0.5ms) commit transaction
20291
+  (0.4ms) DELETE FROM "banks";
20292
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20293
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20294
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20295
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
20296
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20297
+  (0.1ms) begin transaction
20298
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:19 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:38:19 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20299
+  (0.4ms) commit transaction
20300
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20301
+  (0.5ms) DELETE FROM "banks";
20302
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20303
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20304
+  (0.0ms) begin transaction
20305
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:19 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '7'\n :lt: Лицензия 1\n :l_date: '2012-09-10T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:38:19 UTC +00:00]]
20306
+  (0.4ms) commit transaction
20307
+  (0.5ms) DELETE FROM "banks";
20308
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20309
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20310
+  (0.0ms) begin transaction
20311
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:19 UTC +00:00], ["internal_code", 450000650], ["licences", "--- []\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:38:19 UTC +00:00]]
20312
+  (0.4ms) commit transaction
20313
+  (0.5ms) DELETE FROM "banks";
20314
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20315
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20316
+  (0.0ms) begin transaction
20317
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:19 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '3'\n :lt: Лицензия 2\n :l_date: '2007-12-20T00:00:00+04:00'\n- :l_code: '7'\n :lt: Лицензия 3\n :l_date: '2012-03-23T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:38:19 UTC +00:00]]
20318
+  (0.4ms) commit transaction
20319
+  (0.5ms) DELETE FROM "banks";
20320
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20321
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20322
+  (0.0ms) begin transaction
20323
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:19 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:38:19 UTC +00:00]]
20324
+  (0.4ms) commit transaction
20325
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20326
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20327
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20328
+  (0.5ms) DELETE FROM "banks";
20329
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20330
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20331
+  (0.0ms) begin transaction
20332
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:19 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:38:19 UTC +00:00]]
20333
+  (0.4ms) commit transaction
20334
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20335
+  (0.1ms) begin transaction
20336
+ SQL (0.5ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:38:19 UTC +00:00]]
20337
+  (0.4ms) commit transaction
20338
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20339
+  (0.4ms) DELETE FROM "banks";
20340
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20341
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20342
+  (0.0ms) begin transaction
20343
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "111111111"], ["created_at", Sun, 09 Feb 2014 15:38:19 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:38:19 UTC +00:00]]
20344
+  (0.5ms) commit transaction
20345
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20346
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '111111111' LIMIT 1
20347
+ SQL (0.6ms) DELETE FROM "banks" WHERE "banks"."id" = 1
20348
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20349
+  (0.5ms) DELETE FROM "banks";
20350
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20351
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20352
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20353
+  (0.1ms) begin transaction
20354
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:19 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:38:19 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20355
+  (0.5ms) commit transaction
20356
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20357
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20358
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20359
+  (0.5ms) DELETE FROM "banks";
20360
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20361
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20362
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20363
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20364
+  (0.1ms) begin transaction
20365
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:19 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:38:19 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20366
+  (0.5ms) commit transaction
20367
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20368
+  (0.5ms) DELETE FROM "banks";
20369
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20370
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20371
+  (0.0ms) begin transaction
20372
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:19 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:38:19 UTC +00:00]]
20373
+  (0.4ms) commit transaction
20374
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20375
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20376
+  (0.1ms) begin transaction
20377
+ SQL (0.5ms) UPDATE "banks" SET "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:38:19 UTC +00:00]]
20378
+  (0.4ms) commit transaction
20379
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20380
+  (0.5ms) DELETE FROM "banks";
20381
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20382
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
20383
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20384
+  (0.1ms) begin transaction
20385
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:20 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:38:20 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20386
+  (0.5ms) commit transaction
20387
+  (0.5ms) DELETE FROM "banks";
20388
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20389
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20390
+  (0.0ms) begin transaction
20391
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:20 UTC +00:00], ["internal_code", 450000650999999], ["licences", nil], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:38:20 UTC +00:00]]
20392
+  (0.4ms) commit transaction
20393
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20394
+  (0.5ms) DELETE FROM "banks";
20395
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20396
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20397
+  (0.0ms) begin transaction
20398
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:20 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:38:20 UTC +00:00]]
20399
+  (0.4ms) commit transaction
20400
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20401
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
20402
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20403
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20404
+  (0.5ms) DELETE FROM "banks";
20405
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20406
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20407
+  (0.0ms) begin transaction
20408
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:20 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 289375237580009], ["updated_at", Sun, 09 Feb 2014 15:38:20 UTC +00:00]]
20409
+  (0.4ms) commit transaction
20410
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
20411
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20412
+  (0.5ms) DELETE FROM "banks";
20413
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20414
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
20415
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650999999 LIMIT 1
20416
+  (0.7ms) DELETE FROM "banks";
20417
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20418
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'banks';
20419
+  (0.0ms) begin transaction
20420
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:20 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:38:20 UTC +00:00]]
20421
+  (0.4ms) commit transaction
20422
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
20423
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20424
+  (0.1ms) begin transaction
20425
+ SQL (0.6ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:38:20 UTC +00:00]]
20426
+  (0.5ms) commit transaction
20427
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20428
+  (0.5ms) DELETE FROM "banks";
20429
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20430
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
20431
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
20432
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20433
+  (0.1ms) begin transaction
20434
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:20 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:38:20 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20435
+  (0.5ms) commit transaction
20436
+  (0.5ms) DELETE FROM "banks";
20437
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20438
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
20439
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20440
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
20441
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20442
+  (0.1ms) begin transaction
20443
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:20 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:38:20 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20444
+  (0.5ms) commit transaction
20445
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20446
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
20447
+  (0.6ms) DELETE FROM "banks";
20448
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20449
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
20450
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 289375237580009 LIMIT 1
20451
+  (0.7ms) DELETE FROM "banks";
20452
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20453
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'banks';
20454
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
20455
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20456
+  (0.1ms) begin transaction
20457
+ SQL (2.1ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:40 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:38:40 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20458
+  (0.5ms) commit transaction
20459
+  (0.5ms) DELETE FROM "banks";
20460
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20461
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20462
+  (0.0ms) begin transaction
20463
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:40 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:38:40 UTC +00:00]]
20464
+  (0.4ms) commit transaction
20465
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
20466
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20467
+  (0.1ms) begin transaction
20468
+ SQL (0.4ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:38:40 UTC +00:00]]
20469
+  (0.5ms) commit transaction
20470
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20471
+  (0.5ms) DELETE FROM "banks";
20472
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20473
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20474
+  (0.0ms) begin transaction
20475
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:40 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:38:40 UTC +00:00]]
20476
+  (0.4ms) commit transaction
20477
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20478
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
20479
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20480
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20481
+  (0.5ms) DELETE FROM "banks";
20482
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20483
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20484
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20485
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
20486
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20487
+  (0.1ms) begin transaction
20488
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:40 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:38:40 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20489
+  (0.4ms) commit transaction
20490
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20491
+  (0.4ms) DELETE FROM "banks";
20492
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20493
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20494
+  (0.0ms) begin transaction
20495
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:40 UTC +00:00], ["internal_code", 450000650999999], ["licences", nil], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:38:40 UTC +00:00]]
20496
+  (0.4ms) commit transaction
20497
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
20498
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20499
+  (0.5ms) DELETE FROM "banks";
20500
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20501
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20502
+  (0.0ms) begin transaction
20503
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:40 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:38:40 UTC +00:00]]
20504
+  (0.4ms) commit transaction
20505
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20506
+  (0.1ms) begin transaction
20507
+ SQL (0.3ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:38:40 UTC +00:00]]
20508
+  (0.4ms) commit transaction
20509
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20510
+  (0.5ms) DELETE FROM "banks";
20511
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20512
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20513
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20514
+  (0.1ms) begin transaction
20515
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:41 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:38:41 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20516
+  (0.5ms) commit transaction
20517
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20518
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20519
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20520
+  (0.6ms) DELETE FROM "banks";
20521
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20522
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20523
+  (0.0ms) begin transaction
20524
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:41 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:38:41 UTC +00:00]]
20525
+  (0.4ms) commit transaction
20526
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20527
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20528
+  (0.1ms) begin transaction
20529
+ SQL (0.4ms) UPDATE "banks" SET "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:38:41 UTC +00:00]]
20530
+  (0.4ms) commit transaction
20531
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20532
+  (0.5ms) DELETE FROM "banks";
20533
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20534
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20535
+  (0.0ms) begin transaction
20536
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "111111111"], ["created_at", Sun, 09 Feb 2014 15:38:41 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:38:41 UTC +00:00]]
20537
+  (0.4ms) commit transaction
20538
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20539
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '111111111' LIMIT 1
20540
+ SQL (0.7ms) DELETE FROM "banks" WHERE "banks"."id" = 1
20541
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20542
+  (0.5ms) DELETE FROM "banks";
20543
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20544
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20545
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20546
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20547
+  (0.1ms) begin transaction
20548
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:41 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:38:41 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20549
+  (0.5ms) commit transaction
20550
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20551
+  (0.4ms) DELETE FROM "banks";
20552
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20553
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20554
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20555
+  (0.1ms) begin transaction
20556
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:41 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:38:41 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20557
+  (0.5ms) commit transaction
20558
+  (0.5ms) DELETE FROM "banks";
20559
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20560
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20561
+  (0.0ms) begin transaction
20562
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:41 UTC +00:00], ["internal_code", 450000650999999], ["licences", nil], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:38:41 UTC +00:00]]
20563
+  (0.4ms) commit transaction
20564
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20565
+  (0.5ms) DELETE FROM "banks";
20566
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20567
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20568
+  (0.0ms) begin transaction
20569
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:41 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:38:41 UTC +00:00]]
20570
+  (0.4ms) commit transaction
20571
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20572
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20573
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20574
+  (0.5ms) DELETE FROM "banks";
20575
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20576
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20577
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650999999 LIMIT 1
20578
+  (0.6ms) DELETE FROM "banks";
20579
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20580
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'banks';
20581
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
20582
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20583
+  (0.1ms) begin transaction
20584
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:41 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:38:41 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20585
+  (0.4ms) commit transaction
20586
+  (0.5ms) DELETE FROM "banks";
20587
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20588
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
20589
+  (0.0ms) begin transaction
20590
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:41 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:38:41 UTC +00:00]]
20591
+  (0.4ms) commit transaction
20592
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
20593
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20594
+  (0.1ms) begin transaction
20595
+ SQL (0.3ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "org_status" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["org_status", "норм."], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:38:42 UTC +00:00]]
20596
+  (0.4ms) commit transaction
20597
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20598
+  (0.5ms) DELETE FROM "banks";
20599
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20600
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20601
+  (0.0ms) begin transaction
20602
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:42 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:38:42 UTC +00:00]]
20603
+  (0.4ms) commit transaction
20604
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20605
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
20606
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20607
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20608
+  (0.5ms) DELETE FROM "banks";
20609
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20610
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20611
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20612
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
20613
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20614
+  (0.1ms) begin transaction
20615
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:42 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:38:42 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20616
+  (0.4ms) commit transaction
20617
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20618
+  (0.5ms) DELETE FROM "banks";
20619
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20620
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20621
+  (0.1ms) begin transaction
20622
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:42 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 289375237580009], ["updated_at", Sun, 09 Feb 2014 15:38:42 UTC +00:00]]
20623
+  (0.5ms) commit transaction
20624
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
20625
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20626
+  (0.5ms) DELETE FROM "banks";
20627
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20628
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20629
+  (0.1ms) begin transaction
20630
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:42 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '7'\n :lt: Лицензия 1\n :l_date: '2012-09-10T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:38:42 UTC +00:00]]
20631
+  (0.3ms) commit transaction
20632
+  (0.4ms) DELETE FROM "banks";
20633
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20634
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'banks';
20635
+  (0.0ms) begin transaction
20636
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:42 UTC +00:00], ["internal_code", 450000650], ["licences", "--- []\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:38:42 UTC +00:00]]
20637
+  (0.3ms) commit transaction
20638
+  (0.4ms) DELETE FROM "banks";
20639
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20640
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20641
+  (0.1ms) begin transaction
20642
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:38:42 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '3'\n :lt: Лицензия 2\n :l_date: '2007-12-20T00:00:00+04:00'\n- :l_code: '7'\n :lt: Лицензия 3\n :l_date: '2012-03-23T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:38:42 UTC +00:00]]
20643
+  (0.4ms) commit transaction
20644
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
20645
+  (4.4ms) DELETE FROM "banks";
20646
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20647
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
20648
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
20649
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20650
+  (0.1ms) begin transaction
20651
+ SQL (2.3ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:41 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:58:41 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20652
+  (0.4ms) commit transaction
20653
+  (0.5ms) DELETE FROM "banks";
20654
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20655
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
20656
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 289375237580009 LIMIT 1
20657
+  (0.7ms) DELETE FROM "banks";
20658
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20659
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'banks';
20660
+  (0.0ms) begin transaction
20661
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:42 UTC +00:00], ["internal_code", 450000650999999], ["licences", nil], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:58:42 UTC +00:00]]
20662
+  (0.4ms) commit transaction
20663
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
20664
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20665
+  (0.5ms) DELETE FROM "banks";
20666
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20667
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
20668
+  (0.0ms) begin transaction
20669
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:42 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:58:42 UTC +00:00]]
20670
+  (0.4ms) commit transaction
20671
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
20672
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20673
+  (0.1ms) begin transaction
20674
+ SQL (0.4ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:58:42 UTC +00:00]]
20675
+  (0.5ms) commit transaction
20676
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20677
+  (0.4ms) DELETE FROM "banks";
20678
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20679
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
20680
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20681
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
20682
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20683
+  (0.1ms) begin transaction
20684
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:42 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:58:42 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20685
+  (0.5ms) commit transaction
20686
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20687
+  (0.5ms) DELETE FROM "banks";
20688
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20689
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20690
+  (0.0ms) begin transaction
20691
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:42 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:58:42 UTC +00:00]]
20692
+  (0.4ms) commit transaction
20693
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20694
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
20695
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20696
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20697
+  (0.4ms) DELETE FROM "banks";
20698
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20699
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20700
+  (0.0ms) begin transaction
20701
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:42 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:58:42 UTC +00:00]]
20702
+  (0.3ms) commit transaction
20703
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20704
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20705
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20706
+  (0.5ms) DELETE FROM "banks";
20707
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20708
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20709
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20710
+  (0.1ms) begin transaction
20711
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:42 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:58:42 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20712
+  (0.5ms) commit transaction
20713
+  (0.5ms) DELETE FROM "banks";
20714
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20715
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20716
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20717
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20718
+  (0.1ms) begin transaction
20719
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:42 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:58:42 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20720
+  (0.4ms) commit transaction
20721
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20722
+  (0.5ms) DELETE FROM "banks";
20723
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20724
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20725
+  (0.0ms) begin transaction
20726
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "111111111"], ["created_at", Sun, 09 Feb 2014 15:58:42 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:58:42 UTC +00:00]]
20727
+  (0.5ms) commit transaction
20728
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20729
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '111111111' LIMIT 1
20730
+ SQL (0.7ms) DELETE FROM "banks" WHERE "banks"."id" = 1
20731
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20732
+  (0.5ms) DELETE FROM "banks";
20733
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20734
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20735
+  (0.0ms) begin transaction
20736
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:42 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:58:42 UTC +00:00]]
20737
+  (0.4ms) commit transaction
20738
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20739
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20740
+  (0.1ms) begin transaction
20741
+ SQL (0.4ms) UPDATE "banks" SET "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:58:43 UTC +00:00]]
20742
+  (0.4ms) commit transaction
20743
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20744
+  (0.5ms) DELETE FROM "banks";
20745
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20746
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20747
+  (0.0ms) begin transaction
20748
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:43 UTC +00:00], ["internal_code", 450000650999999], ["licences", nil], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:58:43 UTC +00:00]]
20749
+  (0.4ms) commit transaction
20750
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20751
+  (0.5ms) DELETE FROM "banks";
20752
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20753
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20754
+  (0.0ms) begin transaction
20755
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:43 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:58:43 UTC +00:00]]
20756
+  (0.3ms) commit transaction
20757
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20758
+  (0.1ms) begin transaction
20759
+ SQL (0.3ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:58:43 UTC +00:00]]
20760
+  (0.4ms) commit transaction
20761
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20762
+  (0.5ms) DELETE FROM "banks";
20763
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20764
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20765
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20766
+  (0.1ms) begin transaction
20767
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:43 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:58:43 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20768
+  (0.5ms) commit transaction
20769
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20770
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20771
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20772
+  (0.5ms) DELETE FROM "banks";
20773
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20774
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20775
+  (0.0ms) begin transaction
20776
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:43 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '7'\n :lt: Лицензия 1\n :l_date: '2012-09-10T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:58:43 UTC +00:00]]
20777
+  (0.3ms) commit transaction
20778
+  (0.4ms) DELETE FROM "banks";
20779
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20780
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20781
+  (0.0ms) begin transaction
20782
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:43 UTC +00:00], ["internal_code", 450000650], ["licences", "--- []\n"], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:58:43 UTC +00:00]]
20783
+  (0.4ms) commit transaction
20784
+  (0.5ms) DELETE FROM "banks";
20785
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20786
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20787
+  (0.0ms) begin transaction
20788
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:43 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '3'\n :lt: Лицензия 2\n :l_date: '2007-12-20T00:00:00+04:00'\n- :l_code: '7'\n :lt: Лицензия 3\n :l_date: '2012-03-23T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:58:43 UTC +00:00]]
20789
+  (0.3ms) commit transaction
20790
+  (0.4ms) DELETE FROM "banks";
20791
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20792
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20793
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
20794
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20795
+  (0.1ms) begin transaction
20796
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:43 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:58:43 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20797
+  (0.5ms) commit transaction
20798
+  (0.5ms) DELETE FROM "banks";
20799
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20800
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20801
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650999999 LIMIT 1
20802
+  (0.7ms) DELETE FROM "banks";
20803
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20804
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'banks';
20805
+  (0.0ms) begin transaction
20806
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:43 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 289375237580009], ["updated_at", Sun, 09 Feb 2014 15:58:43 UTC +00:00]]
20807
+  (0.4ms) commit transaction
20808
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
20809
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20810
+  (0.5ms) DELETE FROM "banks";
20811
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20812
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20813
+  (0.0ms) begin transaction
20814
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:43 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:58:43 UTC +00:00]]
20815
+  (0.4ms) commit transaction
20816
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
20817
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20818
+  (0.1ms) begin transaction
20819
+ SQL (0.3ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:58:43 UTC +00:00]]
20820
+  (0.4ms) commit transaction
20821
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20822
+  (0.5ms) DELETE FROM "banks";
20823
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20824
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
20825
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20826
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
20827
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20828
+  (0.1ms) begin transaction
20829
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:44 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:58:44 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20830
+  (9.0ms) commit transaction
20831
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20832
+  (0.5ms) DELETE FROM "banks";
20833
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20834
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20835
+  (0.0ms) begin transaction
20836
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:44 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:58:44 UTC +00:00]]
20837
+  (0.4ms) commit transaction
20838
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20839
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
20840
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20841
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20842
+  (0.4ms) DELETE FROM "banks";
20843
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20844
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20845
+  (0.0ms) begin transaction
20846
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:44 UTC +00:00], ["internal_code", 450000650], ["licences", "--- []\n"], ["org_name", "Bank in Database"], ["org_status", "лицензия отозвана"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:58:44 UTC +00:00]]
20847
+  (0.4ms) commit transaction
20848
+  (0.0ms) begin transaction
20849
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:44 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '3'\n :lt: Лицензия 4\n :l_date: '2007-12-20T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:58:44 UTC +00:00]]
20850
+  (0.4ms) commit transaction
20851
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
20852
+  (0.5ms) DELETE FROM "banks";
20853
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20854
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20855
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20856
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
20857
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20858
+  (0.1ms) begin transaction
20859
+ SQL (2.3ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:57 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:58:57 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20860
+  (0.5ms) commit transaction
20861
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20862
+  (0.5ms) DELETE FROM "banks";
20863
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20864
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20865
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
20866
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20867
+  (0.1ms) begin transaction
20868
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:58 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:58:58 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20869
+  (0.4ms) commit transaction
20870
+  (0.5ms) DELETE FROM "banks";
20871
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20872
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20873
+  (0.1ms) begin transaction
20874
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:58 UTC +00:00], ["internal_code", 450000650999999], ["licences", nil], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:58:58 UTC +00:00]]
20875
+  (0.4ms) commit transaction
20876
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
20877
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20878
+  (0.5ms) DELETE FROM "banks";
20879
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20880
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20881
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 289375237580009 LIMIT 1
20882
+  (0.6ms) DELETE FROM "banks";
20883
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20884
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'banks';
20885
+  (0.0ms) begin transaction
20886
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:58 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:58:58 UTC +00:00]]
20887
+  (0.4ms) commit transaction
20888
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
20889
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20890
+  (0.1ms) begin transaction
20891
+ SQL (0.4ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:58:58 UTC +00:00]]
20892
+  (0.4ms) commit transaction
20893
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20894
+  (0.5ms) DELETE FROM "banks";
20895
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20896
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20897
+  (0.0ms) begin transaction
20898
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:58 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:58:58 UTC +00:00]]
20899
+  (0.4ms) commit transaction
20900
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20901
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
20902
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20903
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20904
+  (0.5ms) DELETE FROM "banks";
20905
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20906
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20907
+  (0.0ms) begin transaction
20908
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:58 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:58:58 UTC +00:00]]
20909
+  (0.3ms) commit transaction
20910
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20911
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20912
+  (0.1ms) begin transaction
20913
+ SQL (0.4ms) UPDATE "banks" SET "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:58:58 UTC +00:00]]
20914
+  (0.5ms) commit transaction
20915
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20916
+  (0.5ms) DELETE FROM "banks";
20917
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20918
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20919
+  (0.0ms) begin transaction
20920
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:58 UTC +00:00], ["internal_code", 450000650999999], ["licences", nil], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:58:58 UTC +00:00]]
20921
+  (0.4ms) commit transaction
20922
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20923
+  (0.5ms) DELETE FROM "banks";
20924
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20925
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20926
+  (0.0ms) begin transaction
20927
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:58 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:58:58 UTC +00:00]]
20928
+  (0.4ms) commit transaction
20929
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20930
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20931
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20932
+  (0.5ms) DELETE FROM "banks";
20933
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20934
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20935
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20936
+  (0.1ms) begin transaction
20937
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:58 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:58:58 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20938
+  (0.5ms) commit transaction
20939
+  (0.5ms) DELETE FROM "banks";
20940
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20941
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20942
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20943
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20944
+  (0.1ms) begin transaction
20945
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:58 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:58:58 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20946
+  (0.4ms) commit transaction
20947
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20948
+  (0.4ms) DELETE FROM "banks";
20949
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20950
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20951
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20952
+  (0.1ms) begin transaction
20953
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:58 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:58:58 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
20954
+  (0.5ms) commit transaction
20955
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20956
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20957
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20958
+  (0.5ms) DELETE FROM "banks";
20959
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20960
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
20961
+  (0.0ms) begin transaction
20962
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:58 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:58:58 UTC +00:00]]
20963
+  (0.4ms) commit transaction
20964
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20965
+  (0.1ms) begin transaction
20966
+ SQL (0.3ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:58:59 UTC +00:00]]
20967
+  (0.4ms) commit transaction
20968
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
20969
+  (0.5ms) DELETE FROM "banks";
20970
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20971
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20972
+  (0.0ms) begin transaction
20973
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "111111111"], ["created_at", Sun, 09 Feb 2014 15:58:59 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:58:59 UTC +00:00]]
20974
+  (0.4ms) commit transaction
20975
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20976
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '111111111' LIMIT 1
20977
+ SQL (0.7ms) DELETE FROM "banks" WHERE "banks"."id" = 1
20978
+  (0.1ms) SELECT COUNT(*) FROM "banks"
20979
+  (0.5ms) DELETE FROM "banks";
20980
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20981
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
20982
+  (0.0ms) begin transaction
20983
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:59 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '7'\n :lt: Лицензия 1\n :l_date: '2012-09-10T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:58:59 UTC +00:00]]
20984
+  (0.4ms) commit transaction
20985
+  (0.5ms) DELETE FROM "banks";
20986
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20987
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20988
+  (0.0ms) begin transaction
20989
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:59 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '3'\n :lt: Лицензия 2\n :l_date: '2007-12-20T00:00:00+04:00'\n- :l_code: '7'\n :lt: Лицензия 3\n :l_date: '2012-03-23T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:58:59 UTC +00:00]]
20990
+  (0.3ms) commit transaction
20991
+  (0.5ms) DELETE FROM "banks";
20992
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20993
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
20994
+  (0.0ms) begin transaction
20995
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:59 UTC +00:00], ["internal_code", 450000650], ["licences", "--- []\n"], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:58:59 UTC +00:00]]
20996
+  (0.4ms) commit transaction
20997
+  (0.5ms) DELETE FROM "banks";
20998
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20999
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21000
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21001
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
21002
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21003
+  (0.1ms) begin transaction
21004
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:59 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:58:59 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
21005
+  (0.4ms) commit transaction
21006
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21007
+  (0.4ms) DELETE FROM "banks";
21008
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21009
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21010
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
21011
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21012
+  (0.1ms) begin transaction
21013
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:59 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:58:59 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
21014
+  (0.4ms) commit transaction
21015
+  (0.4ms) DELETE FROM "banks";
21016
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21017
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21018
+  (0.0ms) begin transaction
21019
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:59 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 289375237580009], ["updated_at", Sun, 09 Feb 2014 15:58:59 UTC +00:00]]
21020
+  (0.4ms) commit transaction
21021
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
21022
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21023
+  (0.4ms) DELETE FROM "banks";
21024
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21025
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
21026
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650999999 LIMIT 1
21027
+  (0.6ms) DELETE FROM "banks";
21028
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21029
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'banks';
21030
+  (0.1ms) begin transaction
21031
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:58:59 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:58:59 UTC +00:00]]
21032
+  (0.4ms) commit transaction
21033
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
21034
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21035
+  (0.1ms) begin transaction
21036
+ SQL (0.3ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:58:59 UTC +00:00]]
21037
+  (0.3ms) commit transaction
21038
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21039
+  (0.5ms) DELETE FROM "banks";
21040
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21041
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21042
+  (0.0ms) begin transaction
21043
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:00 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:59:00 UTC +00:00]]
21044
+  (0.4ms) commit transaction
21045
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21046
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
21047
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21048
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21049
+  (0.5ms) DELETE FROM "banks";
21050
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21051
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21052
+  (0.0ms) begin transaction
21053
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:00 UTC +00:00], ["internal_code", 450000650], ["licences", "--- []\n"], ["org_name", "Bank in Database"], ["org_status", "лицензия отозвана"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:59:00 UTC +00:00]]
21054
+  (0.5ms) commit transaction
21055
+  (0.0ms) begin transaction
21056
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:00 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '3'\n :lt: Лицензия 4\n :l_date: '2007-12-20T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:59:00 UTC +00:00]]
21057
+  (0.4ms) commit transaction
21058
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
21059
+  (0.7ms) DELETE FROM "banks";
21060
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21061
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
21062
+  (0.1ms) begin transaction
21063
+ SQL (2.1ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:11 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '7'\n :lt: Лицензия 1\n :l_date: '2012-09-10T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:59:11 UTC +00:00]]
21064
+  (3.0ms) commit transaction
21065
+  (0.4ms) DELETE FROM "banks";
21066
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21067
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21068
+  (0.0ms) begin transaction
21069
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:12 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '3'\n :lt: Лицензия 2\n :l_date: '2007-12-20T00:00:00+04:00'\n- :l_code: '7'\n :lt: Лицензия 3\n :l_date: '2012-03-23T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:59:12 UTC +00:00]]
21070
+  (0.4ms) commit transaction
21071
+  (0.5ms) DELETE FROM "banks";
21072
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21073
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21074
+  (0.0ms) begin transaction
21075
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:12 UTC +00:00], ["internal_code", 450000650], ["licences", "--- []\n"], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:59:12 UTC +00:00]]
21076
+  (0.4ms) commit transaction
21077
+  (0.5ms) DELETE FROM "banks";
21078
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21079
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21080
+  (0.0ms) begin transaction
21081
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:12 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:59:12 UTC +00:00]]
21082
+  (0.4ms) commit transaction
21083
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
21084
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21085
+  (0.1ms) begin transaction
21086
+ SQL (0.4ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:59:12 UTC +00:00]]
21087
+  (0.4ms) commit transaction
21088
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21089
+  (0.5ms) DELETE FROM "banks";
21090
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21091
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
21092
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 289375237580009 LIMIT 1
21093
+  (0.7ms) DELETE FROM "banks";
21094
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21095
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'banks';
21096
+  (0.0ms) begin transaction
21097
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:12 UTC +00:00], ["internal_code", 450000650999999], ["licences", nil], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:59:12 UTC +00:00]]
21098
+  (0.4ms) commit transaction
21099
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
21100
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21101
+  (0.5ms) DELETE FROM "banks";
21102
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21103
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
21104
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
21105
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21106
+  (0.1ms) begin transaction
21107
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:12 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:59:12 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
21108
+  (0.5ms) commit transaction
21109
+  (0.5ms) DELETE FROM "banks";
21110
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21111
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21112
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21113
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
21114
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21115
+  (0.1ms) begin transaction
21116
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:12 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:59:12 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
21117
+  (0.4ms) commit transaction
21118
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21119
+  (0.5ms) DELETE FROM "banks";
21120
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21121
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21122
+  (0.0ms) begin transaction
21123
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:12 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:59:12 UTC +00:00]]
21124
+  (0.4ms) commit transaction
21125
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21126
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
21127
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21128
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21129
+  (0.5ms) DELETE FROM "banks";
21130
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21131
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21132
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21133
+  (0.1ms) begin transaction
21134
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:13 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:59:13 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
21135
+  (0.4ms) commit transaction
21136
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21137
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21138
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21139
+  (0.5ms) DELETE FROM "banks";
21140
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21141
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21142
+  (0.0ms) begin transaction
21143
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:13 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:59:13 UTC +00:00]]
21144
+  (0.4ms) commit transaction
21145
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21146
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21147
+  (0.1ms) begin transaction
21148
+ SQL (0.4ms) UPDATE "banks" SET "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:59:13 UTC +00:00]]
21149
+  (0.4ms) commit transaction
21150
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21151
+  (0.5ms) DELETE FROM "banks";
21152
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21153
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21154
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21155
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21156
+  (0.1ms) begin transaction
21157
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:13 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:59:13 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
21158
+  (0.5ms) commit transaction
21159
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21160
+  (0.5ms) DELETE FROM "banks";
21161
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21162
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21163
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21164
+  (0.1ms) begin transaction
21165
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:13 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:59:13 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
21166
+  (0.4ms) commit transaction
21167
+  (0.4ms) DELETE FROM "banks";
21168
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21169
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21170
+  (0.0ms) begin transaction
21171
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:13 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:59:13 UTC +00:00]]
21172
+  (0.4ms) commit transaction
21173
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21174
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21175
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21176
+  (0.5ms) DELETE FROM "banks";
21177
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21178
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21179
+  (0.0ms) begin transaction
21180
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "111111111"], ["created_at", Sun, 09 Feb 2014 15:59:13 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:59:13 UTC +00:00]]
21181
+  (0.3ms) commit transaction
21182
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21183
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '111111111' LIMIT 1
21184
+ SQL (0.6ms) DELETE FROM "banks" WHERE "banks"."id" = 1
21185
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21186
+  (0.5ms) DELETE FROM "banks";
21187
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21188
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21189
+  (0.0ms) begin transaction
21190
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:13 UTC +00:00], ["internal_code", 450000650999999], ["licences", nil], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:59:13 UTC +00:00]]
21191
+  (0.4ms) commit transaction
21192
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21193
+  (0.4ms) DELETE FROM "banks";
21194
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21195
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21196
+  (0.0ms) begin transaction
21197
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:13 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:59:13 UTC +00:00]]
21198
+  (0.4ms) commit transaction
21199
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21200
+  (0.1ms) begin transaction
21201
+ SQL (0.4ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:59:13 UTC +00:00]]
21202
+  (0.4ms) commit transaction
21203
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21204
+  (0.4ms) DELETE FROM "banks";
21205
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21206
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21207
+  (0.0ms) begin transaction
21208
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:13 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:59:13 UTC +00:00]]
21209
+  (0.4ms) commit transaction
21210
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
21211
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21212
+  (0.1ms) begin transaction
21213
+ SQL (0.3ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:59:13 UTC +00:00]]
21214
+  (0.4ms) commit transaction
21215
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21216
+  (0.5ms) DELETE FROM "banks";
21217
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21218
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21219
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650999999 LIMIT 1
21220
+  (0.6ms) DELETE FROM "banks";
21221
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21222
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'banks';
21223
+  (0.0ms) begin transaction
21224
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:14 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 289375237580009], ["updated_at", Sun, 09 Feb 2014 15:59:14 UTC +00:00]]
21225
+  (0.4ms) commit transaction
21226
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
21227
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21228
+  (0.5ms) DELETE FROM "banks";
21229
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21230
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
21231
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
21232
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21233
+  (0.1ms) begin transaction
21234
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:14 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:59:14 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
21235
+  (0.4ms) commit transaction
21236
+  (0.5ms) DELETE FROM "banks";
21237
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21238
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21239
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21240
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
21241
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21242
+  (0.1ms) begin transaction
21243
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:14 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:59:14 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
21244
+  (0.4ms) commit transaction
21245
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21246
+  (0.5ms) DELETE FROM "banks";
21247
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21248
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21249
+  (0.0ms) begin transaction
21250
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:14 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:59:14 UTC +00:00]]
21251
+  (0.4ms) commit transaction
21252
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21253
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
21254
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21255
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21256
+  (0.4ms) DELETE FROM "banks";
21257
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21258
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21259
+  (0.0ms) begin transaction
21260
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:14 UTC +00:00], ["internal_code", 450000650], ["licences", "--- []\n"], ["org_name", "Bank in Database"], ["org_status", "лицензия отозвана"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:59:14 UTC +00:00]]
21261
+  (0.3ms) commit transaction
21262
+  (0.0ms) begin transaction
21263
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:14 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '3'\n :lt: Лицензия 4\n :l_date: '2007-12-20T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:59:14 UTC +00:00]]
21264
+  (0.3ms) commit transaction
21265
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
21266
+  (0.6ms) DELETE FROM "banks";
21267
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21268
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
21269
+  (0.1ms) begin transaction
21270
+ SQL (2.1ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:18 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 289375237580009], ["updated_at", Sun, 09 Feb 2014 15:59:18 UTC +00:00]]
21271
+  (0.4ms) commit transaction
21272
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
21273
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21274
+  (0.5ms) DELETE FROM "banks";
21275
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21276
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21277
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21278
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
21279
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21280
+  (0.1ms) begin transaction
21281
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:18 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:59:18 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
21282
+  (0.5ms) commit transaction
21283
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21284
+  (0.5ms) DELETE FROM "banks";
21285
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21286
+  (4.6ms) DELETE FROM sqlite_sequence where name = 'banks';
21287
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650999999 LIMIT 1
21288
+  (0.6ms) DELETE FROM "banks";
21289
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21290
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'banks';
21291
+  (0.0ms) begin transaction
21292
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:19 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:59:19 UTC +00:00]]
21293
+  (0.4ms) commit transaction
21294
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
21295
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21296
+  (0.1ms) begin transaction
21297
+ SQL (0.5ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:59:19 UTC +00:00]]
21298
+  (0.5ms) commit transaction
21299
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21300
+  (0.4ms) DELETE FROM "banks";
21301
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21302
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21303
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
21304
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21305
+  (0.1ms) begin transaction
21306
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:19 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:59:19 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
21307
+  (0.4ms) commit transaction
21308
+  (0.4ms) DELETE FROM "banks";
21309
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21310
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21311
+  (0.0ms) begin transaction
21312
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:19 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:59:19 UTC +00:00]]
21313
+  (0.3ms) commit transaction
21314
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21315
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
21316
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21317
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21318
+  (0.4ms) DELETE FROM "banks";
21319
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21320
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21321
+  (0.0ms) begin transaction
21322
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:19 UTC +00:00], ["internal_code", 450000650999999], ["licences", nil], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:59:19 UTC +00:00]]
21323
+  (0.3ms) commit transaction
21324
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
21325
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21326
+  (0.4ms) DELETE FROM "banks";
21327
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21328
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21329
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21330
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
21331
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21332
+  (0.1ms) begin transaction
21333
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:19 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:59:19 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
21334
+  (0.4ms) commit transaction
21335
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21336
+  (0.5ms) DELETE FROM "banks";
21337
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21338
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21339
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 289375237580009 LIMIT 1
21340
+  (0.6ms) DELETE FROM "banks";
21341
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21342
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'banks';
21343
+  (0.0ms) begin transaction
21344
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:19 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:59:19 UTC +00:00]]
21345
+  (0.5ms) commit transaction
21346
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
21347
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21348
+  (0.1ms) begin transaction
21349
+ SQL (0.3ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:59:19 UTC +00:00]]
21350
+  (0.4ms) commit transaction
21351
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21352
+  (0.4ms) DELETE FROM "banks";
21353
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21354
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21355
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
21356
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21357
+  (0.1ms) begin transaction
21358
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:20 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:59:20 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
21359
+  (0.5ms) commit transaction
21360
+  (0.5ms) DELETE FROM "banks";
21361
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21362
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21363
+  (0.0ms) begin transaction
21364
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:20 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:59:20 UTC +00:00]]
21365
+  (0.4ms) commit transaction
21366
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21367
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
21368
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21369
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21370
+  (0.5ms) DELETE FROM "banks";
21371
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21372
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
21373
+  (0.0ms) begin transaction
21374
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:20 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '7'\n :lt: Лицензия 1\n :l_date: '2012-09-10T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:59:20 UTC +00:00]]
21375
+  (0.3ms) commit transaction
21376
+  (0.5ms) DELETE FROM "banks";
21377
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21378
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21379
+  (0.0ms) begin transaction
21380
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:20 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '3'\n :lt: Лицензия 2\n :l_date: '2007-12-20T00:00:00+04:00'\n- :l_code: '7'\n :lt: Лицензия 3\n :l_date: '2012-03-23T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:59:20 UTC +00:00]]
21381
+  (0.4ms) commit transaction
21382
+  (0.5ms) DELETE FROM "banks";
21383
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21384
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21385
+  (0.0ms) begin transaction
21386
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:20 UTC +00:00], ["internal_code", 450000650], ["licences", "--- []\n"], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:59:20 UTC +00:00]]
21387
+  (0.5ms) commit transaction
21388
+  (0.5ms) DELETE FROM "banks";
21389
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21390
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21391
+  (0.0ms) begin transaction
21392
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:20 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:59:20 UTC +00:00]]
21393
+  (0.3ms) commit transaction
21394
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21395
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21396
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21397
+  (0.5ms) DELETE FROM "banks";
21398
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21399
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21400
+  (0.0ms) begin transaction
21401
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:20 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:59:20 UTC +00:00]]
21402
+  (0.4ms) commit transaction
21403
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21404
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21405
+  (0.1ms) begin transaction
21406
+ SQL (0.4ms) UPDATE "banks" SET "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:59:20 UTC +00:00]]
21407
+  (0.4ms) commit transaction
21408
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21409
+  (0.5ms) DELETE FROM "banks";
21410
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21411
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21412
+  (0.0ms) begin transaction
21413
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:20 UTC +00:00], ["internal_code", 450000650999999], ["licences", nil], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:59:20 UTC +00:00]]
21414
+  (0.5ms) commit transaction
21415
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21416
+  (0.5ms) DELETE FROM "banks";
21417
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21418
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21419
+  (0.1ms) begin transaction
21420
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "111111111"], ["created_at", Sun, 09 Feb 2014 15:59:20 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:59:20 UTC +00:00]]
21421
+  (0.3ms) commit transaction
21422
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21423
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '111111111' LIMIT 1
21424
+ SQL (0.6ms) DELETE FROM "banks" WHERE "banks"."id" = 1
21425
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21426
+  (0.4ms) DELETE FROM "banks";
21427
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21428
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21429
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21430
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21431
+  (0.1ms) begin transaction
21432
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:20 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:59:20 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
21433
+  (0.5ms) commit transaction
21434
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21435
+  (0.5ms) DELETE FROM "banks";
21436
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21437
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21438
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21439
+  (0.1ms) begin transaction
21440
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:20 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:59:20 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
21441
+  (0.5ms) commit transaction
21442
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21443
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21444
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21445
+  (0.5ms) DELETE FROM "banks";
21446
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21447
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
21448
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21449
+  (0.1ms) begin transaction
21450
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:20 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 15:59:20 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
21451
+  (0.5ms) commit transaction
21452
+  (0.5ms) DELETE FROM "banks";
21453
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21454
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21455
+  (0.0ms) begin transaction
21456
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:20 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 15:59:20 UTC +00:00]]
21457
+  (0.4ms) commit transaction
21458
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21459
+  (0.1ms) begin transaction
21460
+ SQL (0.3ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 15:59:21 UTC +00:00]]
21461
+  (0.4ms) commit transaction
21462
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21463
+  (0.4ms) DELETE FROM "banks";
21464
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21465
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21466
+  (0.0ms) begin transaction
21467
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:21 UTC +00:00], ["internal_code", 450000650], ["licences", "--- []\n"], ["org_name", "Bank in Database"], ["org_status", "лицензия отозвана"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:59:21 UTC +00:00]]
21468
+  (0.4ms) commit transaction
21469
+  (0.1ms) begin transaction
21470
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 15:59:21 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '3'\n :lt: Лицензия 4\n :l_date: '2007-12-20T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 15:59:21 UTC +00:00]]
21471
+  (0.5ms) commit transaction
21472
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
21473
+  (0.6ms) DELETE FROM "banks";
21474
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21475
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21476
+  (0.1ms) begin transaction
21477
+ SQL (2.1ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 16:00:04 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 16:00:04 UTC +00:00]]
21478
+  (0.4ms) commit transaction
21479
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21480
+  (0.1ms) begin transaction
21481
+ SQL (0.4ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 16:00:04 UTC +00:00]]
21482
+  (0.4ms) commit transaction
21483
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21484
+  (0.5ms) DELETE FROM "banks";
21485
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21486
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21487
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21488
+  (0.1ms) begin transaction
21489
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 16:00:04 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 16:00:04 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
21490
+  (0.5ms) commit transaction
21491
+  (0.5ms) DELETE FROM "banks";
21492
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21493
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21494
+  (0.0ms) begin transaction
21495
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 16:00:04 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 16:00:04 UTC +00:00]]
21496
+  (0.4ms) commit transaction
21497
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21498
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21499
+  (0.1ms) begin transaction
21500
+ SQL (0.4ms) UPDATE "banks" SET "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 16:00:05 UTC +00:00]]
21501
+  (0.5ms) commit transaction
21502
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21503
+  (0.5ms) DELETE FROM "banks";
21504
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21505
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
21506
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21507
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21508
+  (0.1ms) begin transaction
21509
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 16:00:05 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 16:00:05 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
21510
+  (0.5ms) commit transaction
21511
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21512
+  (0.4ms) DELETE FROM "banks";
21513
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21514
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
21515
+  (0.1ms) begin transaction
21516
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 16:00:05 UTC +00:00], ["internal_code", 450000650999999], ["licences", nil], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 16:00:05 UTC +00:00]]
21517
+  (0.4ms) commit transaction
21518
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21519
+  (0.5ms) DELETE FROM "banks";
21520
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21521
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21522
+  (0.1ms) begin transaction
21523
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "111111111"], ["created_at", Sun, 09 Feb 2014 16:00:05 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 16:00:05 UTC +00:00]]
21524
+  (0.4ms) commit transaction
21525
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21526
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '111111111' LIMIT 1
21527
+ SQL (0.6ms) DELETE FROM "banks" WHERE "banks"."id" = 1
21528
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21529
+  (0.4ms) DELETE FROM "banks";
21530
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21531
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21532
+  (0.0ms) begin transaction
21533
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 16:00:05 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 16:00:05 UTC +00:00]]
21534
+  (0.3ms) commit transaction
21535
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21536
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21537
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21538
+  (0.4ms) DELETE FROM "banks";
21539
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21540
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21541
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21542
+  (0.1ms) begin transaction
21543
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 16:00:05 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 16:00:05 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
21544
+  (0.5ms) commit transaction
21545
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21546
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21547
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21548
+  (0.5ms) DELETE FROM "banks";
21549
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21550
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21551
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
21552
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21553
+  (0.1ms) begin transaction
21554
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 16:00:05 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 16:00:05 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
21555
+  (0.5ms) commit transaction
21556
+  (0.5ms) DELETE FROM "banks";
21557
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21558
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21559
+  (0.0ms) begin transaction
21560
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 16:00:05 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 16:00:05 UTC +00:00]]
21561
+  (0.4ms) commit transaction
21562
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21563
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
21564
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21565
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21566
+  (0.5ms) DELETE FROM "banks";
21567
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21568
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21569
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 289375237580009 LIMIT 1
21570
+  (0.7ms) DELETE FROM "banks";
21571
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21572
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'banks';
21573
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21574
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
21575
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21576
+  (0.1ms) begin transaction
21577
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 16:00:06 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 16:00:06 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
21578
+  (0.4ms) commit transaction
21579
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21580
+  (0.5ms) DELETE FROM "banks";
21581
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21582
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21583
+  (0.0ms) begin transaction
21584
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 16:00:06 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 16:00:06 UTC +00:00]]
21585
+  (0.4ms) commit transaction
21586
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
21587
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21588
+  (0.1ms) begin transaction
21589
+ SQL (0.3ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 16:00:06 UTC +00:00]]
21590
+  (0.4ms) commit transaction
21591
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21592
+  (0.5ms) DELETE FROM "banks";
21593
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21594
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21595
+  (0.0ms) begin transaction
21596
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 16:00:06 UTC +00:00], ["internal_code", 450000650999999], ["licences", nil], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 16:00:06 UTC +00:00]]
21597
+  (0.4ms) commit transaction
21598
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."reg_number" = 316 LIMIT 1
21599
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21600
+  (0.5ms) DELETE FROM "banks";
21601
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21602
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
21603
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
21604
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21605
+  (0.1ms) begin transaction
21606
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 16:00:06 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 16:00:06 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
21607
+  (0.4ms) commit transaction
21608
+  (0.5ms) DELETE FROM "banks";
21609
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21610
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21611
+  (0.0ms) begin transaction
21612
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 16:00:06 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 16:00:06 UTC +00:00]]
21613
+  (0.4ms) commit transaction
21614
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21615
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
21616
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21617
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21618
+  (0.4ms) DELETE FROM "banks";
21619
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21620
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21621
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650999999 LIMIT 1
21622
+  (0.6ms) DELETE FROM "banks";
21623
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21624
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'banks';
21625
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21626
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
21627
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21628
+  (0.1ms) begin transaction
21629
+ SQL (0.4ms) INSERT INTO "banks" ("bic", "created_at", "date_kgr_registration", "fact_adr", "internal_code", "licences", "main_date_reg", "main_reg_number", "org_full_name", "org_name", "org_status", "phones", "reg_code", "reg_number", "ssv_date", "updated_at", "ust_money", "ustav_adr") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 16:00:06 UTC +00:00], ["date_kgr_registration", Tue, 12 May 1992], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["internal_code", 450000650], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["main_date_reg", Fri, 04 Oct 2002], ["main_reg_number", "1027700280937"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["org_name", "ХКФ БАНК"], ["org_status", "норм."], ["phones", "(495)785-82-25"], ["reg_code", 16], ["reg_number", 316], ["ssv_date", Wed, 10 Nov 2004], ["updated_at", Sun, 09 Feb 2014 16:00:06 UTC +00:00], ["ust_money", 4173000000], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"]]
21630
+  (4.4ms) commit transaction
21631
+  (0.1ms) SELECT COUNT(*) FROM "banks"
21632
+  (0.5ms) DELETE FROM "banks";
21633
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21634
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
21635
+  (0.0ms) begin transaction
21636
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 16:00:06 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Old name"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Thu, 09 Jan 2014 16:00:06 UTC +00:00]]
21637
+  (0.4ms) commit transaction
21638
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
21639
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21640
+  (0.1ms) begin transaction
21641
+ SQL (0.3ms) UPDATE "banks" SET "org_name" = ?, "org_full_name" = ?, "phones" = ?, "date_kgr_registration" = ?, "main_reg_number" = ?, "main_date_reg" = ?, "ustav_adr" = ?, "fact_adr" = ?, "ust_money" = ?, "ssv_date" = ?, "licences" = ?, "updated_at" = ? WHERE "banks"."id" = 1 [["org_name", "ХКФ БАНК"], ["org_full_name", "Общество с ограниченной ответственностью \"Хоум Кредит энд Финанс Банк\""], ["phones", "(495)785-82-25"], ["date_kgr_registration", Tue, 12 May 1992], ["main_reg_number", "1027700280937"], ["main_date_reg", Fri, 04 Oct 2002], ["ustav_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["fact_adr", "125040, г. Москва, ул. Правды, д. 8, корпус 1"], ["ust_money", 4173000000], ["ssv_date", Wed, 10 Nov 2004], ["licences", "---\n- :l_code: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n Nw==\n attributes: {}\n :lt: !ruby/string:Nori::StringWithAttributes\n str: !binary |-\n 0JPQtdC90LXRgNCw0LvRjNC90LDRjyDQu9C40YbQtdC90LfQuNGPINC90LAg\n 0L7RgdGD0YnQtdGB0YLQstC70LXQvdC40LUg0LHQsNC90LrQvtCy0YHQutC4\n 0YUg0L7Qv9C10YDQsNGG0LjQuQ==\n attributes: {}\n :l_date: !ruby/object:DateTime 2012-03-15 00:00:00.000000000 +04:00\n"], ["updated_at", Sun, 09 Feb 2014 16:00:07 UTC +00:00]]
21642
+  (0.4ms) commit transaction
21643
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21644
+  (0.4ms) DELETE FROM "banks";
21645
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21646
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21647
+  (0.0ms) begin transaction
21648
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 16:00:07 UTC +00:00], ["internal_code", 450000650], ["licences", nil], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 289375237580009], ["updated_at", Sun, 09 Feb 2014 16:00:07 UTC +00:00]]
21649
+  (0.4ms) commit transaction
21650
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."internal_code" = 450000650 LIMIT 1
21651
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."bic" = '044585216' LIMIT 1
21652
+  (0.5ms) DELETE FROM "banks";
21653
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21654
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21655
+  (0.0ms) begin transaction
21656
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 16:00:07 UTC +00:00], ["internal_code", 450000650], ["licences", "--- []\n"], ["org_name", "Bank in Database"], ["org_status", "лицензия отозвана"], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 16:00:07 UTC +00:00]]
21657
+  (0.4ms) commit transaction
21658
+  (0.0ms) begin transaction
21659
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 16:00:07 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '3'\n :lt: Лицензия 4\n :l_date: '2007-12-20T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 16:00:07 UTC +00:00]]
21660
+  (0.3ms) commit transaction
21661
+  (0.4ms) DELETE FROM "banks";
21662
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21663
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21664
+  (0.1ms) begin transaction
21665
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 16:00:07 UTC +00:00], ["internal_code", 450000650], ["licences", "--- []\n"], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 16:00:07 UTC +00:00]]
21666
+  (0.4ms) commit transaction
21667
+  (0.5ms) DELETE FROM "banks";
21668
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21669
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'banks';
21670
+  (0.0ms) begin transaction
21671
+ SQL (0.3ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 16:00:07 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '7'\n :lt: Лицензия 1\n :l_date: '2012-09-10T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 16:00:07 UTC +00:00]]
21672
+  (0.4ms) commit transaction
21673
+  (0.5ms) DELETE FROM "banks";
21674
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
21675
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'banks';
21676
+  (0.0ms) begin transaction
21677
+ SQL (0.2ms) INSERT INTO "banks" ("bic", "created_at", "internal_code", "licences", "org_name", "org_status", "reg_code", "reg_number", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["bic", "044585216"], ["created_at", Sun, 09 Feb 2014 16:00:07 UTC +00:00], ["internal_code", 450000650], ["licences", "---\n- :l_code: '3'\n :lt: Лицензия 2\n :l_date: '2007-12-20T00:00:00+04:00'\n- :l_code: '7'\n :lt: Лицензия 3\n :l_date: '2012-03-23T00:00:00+04:00'\n"], ["org_name", "Bank in Database"], ["org_status", "норм."], ["reg_code", 16], ["reg_number", 316], ["updated_at", Sun, 09 Feb 2014 16:00:07 UTC +00:00]]
21678
+  (0.4ms) commit transaction